Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 92.12 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 183.7 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.223/0.223, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004969, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1617, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.04105/0.2028, allocations: 40.16 MB / 0.4997 GB, free: 5.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3588/0.5617, allocations: 10.2 MB / 0.5097 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01145/0.5731, allocations: 209.4 kB / 0.5099 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009225/0.5824, allocations: 2.097 MB / 0.5119 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02565/0.6081, allocations: 5.849 MB / 0.5176 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004295/0.6124, allocations: 0.7349 MB / 0.5183 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007713/0.6202, allocations: 2.311 MB / 0.5206 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007807/0.628, allocations: 3.896 MB / 0.5244 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.6315, allocations: 1.276 MB / 0.5256 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003122/0.6347, allocations: 1.439 MB / 0.527 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008598/0.6356, allocations: 143.9 kB / 0.5272 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.6383, allocations: 0.9058 MB / 0.5281 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.6403, allocations: 1.62 MB / 0.5296 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.6417, allocations: 0.8653 MB / 0.5305 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006731/0.6484, allocations: 5.428 MB / 0.5358 GB, free: 3.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6484, allocations: 0 / 0.5358 GB, free: 3.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.6484, allocations: 0 / 0.5358 GB, free: 3.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000295/0.6487, allocations: 0 / 0.5358 GB, free: 3.777 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01224/0.661, allocations: 4.689 MB / 0.5404 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.6611, allocations: 9.281 kB / 0.5404 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003131/0.6642, allocations: 0.7545 MB / 0.5411 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009302/0.6735, allocations: 2.214 MB / 0.5433 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008062/0.6816, allocations: 2.55 MB / 0.5458 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.6819, allocations: 240.8 kB / 0.546 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/0.6834, allocations: 316.8 kB / 0.5463 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02785/0.7113, allocations: 11.34 MB / 0.5574 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001708/0.7115, allocations: 50.16 kB / 0.5574 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007023/0.7122, allocations: 155.5 kB / 0.5576 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004248/0.7165, allocations: 2.298 MB / 0.5598 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02518/0.7417, allocations: 10.02 MB / 0.5696 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0723/0.814, allocations: 44.42 MB / 0.613 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/0.8289, allocations: 5.979 MB / 0.6188 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/0.8454, allocations: 9.412 MB / 0.628 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01082/0.8563, allocations: 3.497 MB / 0.6314 GB, free: 10.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 5.23e-06/0.8563, allocations: 0 / 0.6314 GB, free: 10.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=285): time 0.1236/0.9799, allocations: 34.56 MB / 0.6652 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.9801, allocations: 158.5 kB / 0.6653 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008902/0.989, allocations: 4.289 MB / 0.6695 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008729/0.9899, allocations: 69.7 kB / 0.6696 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004026/0.9939, allocations: 3.254 MB / 0.6728 GB, free: 224 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002136/0.9961, allocations: 1.044 MB / 0.6738 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006519/0.9968, allocations: 133.4 kB / 0.6739 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0004285/0.9972, allocations: 0.5867 MB / 0.6745 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005258/1.002, allocations: 3.351 MB / 0.6778 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008463/1.011, allocations: 6.924 MB / 0.6845 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007713/1.019, allocations: 4.715 MB / 0.6891 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-05/1.019, allocations: 36 kB / 0.6892 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.0273/1.046, allocations: 12.53 MB / 0.7014 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003197/1.046, allocations: 56 kB / 0.7014 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004149/1.047, allocations: 128 kB / 0.7016 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3521/1.399, allocations: 2.647 MB / 0.7042 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006938/1.406, allocations: 1.483 MB / 0.7056 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03237/1.438, allocations: 22.29 MB / 0.7274 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007615/1.446, allocations: 438.5 kB / 0.7278 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.448, allocations: 387.7 kB / 0.7282 GB, free: 171.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 753 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.005258/1.453, allocations: 2.22 MB / 0.7303 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009767/1.454, allocations: 404 kB / 0.7307 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/1.467, allocations: 8.013 MB / 0.7385 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-05/1.467, allocations: 27.38 kB / 0.7386 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/1.467, allocations: 11.69 kB / 0.7386 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-05/1.468, allocations: 11.67 kB / 0.7386 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02815/1.496, allocations: 14.78 MB / 0.753 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/1.496, allocations: 4 kB / 0.753 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/1.498, allocations: 403.3 kB / 0.7534 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006532/1.505, allocations: 2.434 MB / 0.7558 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007694/1.506, allocations: 44.62 kB / 0.7558 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02444/1.53, allocations: 22.05 MB / 0.7774 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.53, allocations: 4 kB / 0.7774 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.544, allocations: 8.352 MB / 0.7855 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/1.546, allocations: 455.7 kB / 0.786 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001746/1.547, allocations: 47.98 kB / 0.786 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003578/1.551, allocations: 212.3 kB / 0.7862 GB, free: 124 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/1.552, allocations: 185.5 kB / 0.7864 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000516/1.553, allocations: 80.88 kB / 0.7865 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004516/1.557, allocations: 2.7 MB / 0.7891 GB, free: 121 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.7e-07/1.557, allocations: 0 / 0.7891 GB, free: 121 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008113/1.565, allocations: 1.379 MB / 0.7904 GB, free: 119.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 179 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01452/1.58, allocations: 9.827 MB / 0.8 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01433/1.594, allocations: 8.815 MB / 0.8087 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.547e-06/1.594, allocations: 4 kB / 0.8087 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006346/1.601, allocations: 4.076 MB / 0.8126 GB, free: 96.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/1.604, allocations: 430.5 kB / 0.813 GB, free: 96.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3621/1.966, allocations: 132 MB / 0.942 GB, free: 154 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004197/1.97, allocations: 3.669 MB / 0.9456 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005436/1.976, allocations: 2.142 MB / 0.9477 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002612/1.978, allocations: 2.083 MB / 0.9497 GB, free: 151 MB / 0.5294 GB Notification: Performance of SimCode: time 1.302e-06/1.978, allocations: 3.828 kB / 0.9497 GB, free: 151 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1523/2.131, allocations: 107 MB / 1.054 GB, free: 50.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/2.131, allocations: 248.7 kB / 1.054 GB, free: 49.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.583/6.714, allocations: 0 / 1.054 GB, free: 49.96 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat