Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 221.5 MB / 230.7 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009481/0.0009477, allocations: 97.36 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2097/0.2097, allocations: 44.16 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.681e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1279, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4535/0.5814, allocations: 102.4 MB / 0.5947 GB, free: 10 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.5818, allocations: 71.97 kB / 0.5948 GB, free: 9.934 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1598/0.7416, allocations: 58.6 MB / 0.652 GB, free: 14.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.7417, allocations: 0 / 0.652 GB, free: 14.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.687e-05/0.7418, allocations: 44 kB / 0.652 GB, free: 14.83 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.006164/0.7479, allocations: 2.591 MB / 0.6546 GB, free: 12.19 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.748, allocations: 11.98 kB / 0.6546 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008461/0.7565, allocations: 1.978 MB / 0.6565 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008554/0.7651, allocations: 3.22 MB / 0.6597 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.7652, allocations: 76 kB / 0.6597 GB, free: 6.844 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006852/0.7659, allocations: 144 kB / 0.6599 GB, free: 6.703 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007004/0.773, allocations: 3.96 MB / 0.6637 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/0.7839, allocations: 6.262 MB / 0.6699 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/0.7841, allocations: 51.53 kB / 0.6699 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000364/0.7845, allocations: 24 kB / 0.6699 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001093/0.7856, allocations: 0.7266 MB / 0.6706 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03434/0.8199, allocations: 32.22 MB / 0.7021 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.8224, allocations: 1.936 MB / 0.704 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.8236, allocations: 0.9996 MB / 0.705 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.8239, allocations: 178.5 kB / 0.7051 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.8239, allocations: 46.98 kB / 0.7052 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 3.646e-06/0.8239, allocations: 0 / 0.7052 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112): time 0.01183/0.8358, allocations: 6.232 MB / 0.7113 GB, free: 0 / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2642/1.1, allocations: 136.7 kB / 0.7114 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004918/1.105, allocations: 2.177 MB / 0.7135 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/1.105, allocations: 27.56 kB / 0.7135 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001561/1.107, allocations: 2.169 MB / 0.7157 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007241/1.108, allocations: 448.1 kB / 0.7161 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/1.108, allocations: 1.094 kB / 0.7161 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004174/1.108, allocations: 0.5499 MB / 0.7166 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/1.11, allocations: 1.309 MB / 0.7179 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/1.114, allocations: 4.271 MB / 0.7221 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/1.117, allocations: 2.345 MB / 0.7244 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/1.117, allocations: 30.53 kB / 0.7244 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=599) (initialization): time 0.009729/1.127, allocations: 4.874 MB / 0.7292 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.127, allocations: 51.75 kB / 0.7292 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/1.127, allocations: 117.5 kB / 0.7293 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002308/1.128, allocations: 155.9 kB / 0.7295 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004082/1.132, allocations: 1.126 MB / 0.7306 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001973/1.132, allocations: 209.4 kB / 0.7308 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/1.136, allocations: 211.2 kB / 0.731 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005644/1.136, allocations: 292.2 kB / 0.7313 GB, free: 142.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 572 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006296/1.137, allocations: 367.6 kB / 0.7316 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002459/1.139, allocations: 1.557 MB / 0.7331 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/1.14, allocations: 219.1 kB / 0.7333 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/1.141, allocations: 1.147 MB / 0.7344 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/1.142, allocations: 13.75 kB / 0.7345 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.142, allocations: 3.969 kB / 0.7345 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/1.142, allocations: 4.359 kB / 0.7345 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006329/1.148, allocations: 3.896 MB / 0.7383 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.148, allocations: 5.75 kB / 0.7383 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009801/1.149, allocations: 211.3 kB / 0.7385 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/1.149, allocations: 10.94 kB / 0.7385 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-05/1.149, allocations: 11 kB / 0.7385 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/1.149, allocations: 13.78 kB / 0.7385 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.149, allocations: 7.656 kB / 0.7385 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/1.152, allocations: 2.418 MB / 0.7409 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005164/1.152, allocations: 283.2 kB / 0.7412 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/1.152, allocations: 13.48 kB / 0.7412 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009373/1.153, allocations: 60.3 kB / 0.7412 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.153, allocations: 68.41 kB / 0.7413 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.393e-05/1.153, allocations: 45.98 kB / 0.7413 GB, free: 140 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002025/1.155, allocations: 1.427 MB / 0.7427 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.156, allocations: 3.938 kB / 0.7427 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003342/1.159, allocations: 0.532 MB / 0.7433 GB, free: 139.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002432/1.161, allocations: 4.278 MB / 0.7474 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003768/1.165, allocations: 3.009 MB / 0.7504 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.165, allocations: 1.062 kB / 0.7504 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006826/1.166, allocations: 0.7561 MB / 0.7511 GB, free: 135 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009971/1.167, allocations: 197.4 kB / 0.7513 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008728/1.176, allocations: 5.293 MB / 0.7565 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/1.177, allocations: 2.258 MB / 0.7587 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002998/1.18, allocations: 1.502 MB / 0.7601 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.181, allocations: 1.074 MB / 0.7612 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of SimCode: time 6.92e-07/1.181, allocations: 0 / 0.7612 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06964/1.251, allocations: 44.37 MB / 0.8045 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/1.251, allocations: 124.6 kB / 0.8046 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.744/4.996, allocations: 0 / 0.8046 GB, free: 103.9 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat