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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008158/0.0008159, allocations: 90.91 kB / 292.1 MB, free: 10.69 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.3246/0.3246, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 8 kB / 460 MB, free: 1.664 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.332, allocations: 61.89 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4683, allocations: 108.5 MB / 0.6156 GB, free: 2.613 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.4687, allocations: 75.94 kB / 0.6156 GB, free: 2.543 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.508/0.9767, allocations: 95.4 MB / 0.7088 GB, free: 95.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.9767, allocations: 0.7812 kB / 0.7088 GB, free: 95.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003886/0.9771, allocations: 88.06 kB / 0.7089 GB, free: 95.44 MB / 490.7 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.01916/0.9963, allocations: 5.058 MB / 0.7138 GB, free: 93.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.9963, allocations: 8.844 kB / 0.7138 GB, free: 93.33 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003851/1, allocations: 0.801 MB / 0.7146 GB, free: 93.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/1.011, allocations: 2.235 MB / 0.7168 GB, free: 92.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/1.026, allocations: 4.953 MB / 0.7216 GB, free: 92.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005508/1.027, allocations: 334.9 kB / 0.722 GB, free: 92.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002493/1.029, allocations: 435.7 kB / 0.7224 GB, free: 92.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03396/1.063, allocations: 11.59 MB / 0.7337 GB, free: 87.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003689/1.064, allocations: 55.59 kB / 0.7337 GB, free: 86.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001991/1.066, allocations: 212.1 kB / 0.7339 GB, free: 86.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001644/1.068, allocations: 1.157 MB / 0.7351 GB, free: 86.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/1.086, allocations: 10.03 MB / 0.7449 GB, free: 83.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05259/1.139, allocations: 50.84 MB / 0.7945 GB, free: 45.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/1.151, allocations: 5.912 MB / 0.8003 GB, free: 40.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01365/1.165, allocations: 9.282 MB / 0.8094 GB, free: 30.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009421/1.174, allocations: 3.415 MB / 0.8127 GB, free: 27.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=211): time 7.735e-06/1.175, allocations: 4 kB / 0.8127 GB, free: 27.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=285): time 0.1108/1.285, allocations: 33.99 MB / 0.8459 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.286, allocations: 154.5 kB / 0.846 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00693/1.292, allocations: 3.717 MB / 0.8497 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008406/1.293, allocations: 65.7 kB / 0.8497 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003758/1.297, allocations: 3.271 MB / 0.8529 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001823/1.299, allocations: 1.05 MB / 0.854 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004923/1.299, allocations: 132 kB / 0.8541 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000403/1.3, allocations: 0.5831 MB / 0.8546 GB, free: 88 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005131/1.305, allocations: 3.296 MB / 0.8579 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008046/1.313, allocations: 6.911 MB / 0.8646 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008441/1.322, allocations: 4.685 MB / 0.8692 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/1.322, allocations: 36 kB / 0.8692 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.0276/1.349, allocations: 12.47 MB / 0.8814 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.349, allocations: 56 kB / 0.8815 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001834/1.35, allocations: 128 kB / 0.8816 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0078/1.357, allocations: 2.679 MB / 0.8842 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007499/1.689, allocations: 1.483 MB / 0.8856 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02699/1.716, allocations: 22.3 MB / 0.9074 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006506/1.723, allocations: 434 kB / 0.9078 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001659/1.725, allocations: 390.5 kB / 0.9082 GB, free: 123.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * 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 (767): * Single equations (assignments): 760 * 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.005832/1.731, allocations: 2.231 MB / 0.9104 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.732, allocations: 404.2 kB / 0.9108 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01772/1.749, allocations: 7.919 MB / 0.9185 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.003e-05/1.749, allocations: 29.47 kB / 0.9185 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-05/1.75, allocations: 10.16 kB / 0.9185 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.74e-05/1.75, allocations: 12.8 kB / 0.9186 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03366/1.783, allocations: 14.68 MB / 0.9329 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/1.783, allocations: 0 / 0.9329 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/1.786, allocations: 399.7 kB / 0.9333 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006128/1.792, allocations: 2.446 MB / 0.9357 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006511/1.792, allocations: 53.83 kB / 0.9357 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02505/1.818, allocations: 22.1 MB / 0.9573 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.818, allocations: 5.531 kB / 0.9573 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/1.832, allocations: 8.293 MB / 0.9654 GB, free: 99.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/1.833, allocations: 454.4 kB / 0.9658 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/1.835, allocations: 54.77 kB / 0.9659 GB, free: 98.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/1.837, allocations: 208.2 kB / 0.9661 GB, free: 98.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007653/1.838, allocations: 186 kB / 0.9663 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002493/1.838, allocations: 77.84 kB / 0.9663 GB, free: 98.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004216/1.843, allocations: 2.607 MB / 0.9689 GB, free: 97.97 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.82e-07/1.843, allocations: 0 / 0.9689 GB, free: 97.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007948/1.851, allocations: 1.371 MB / 0.9702 GB, free: 97.81 MB / 0.5261 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 (191): * Single equations (assignments): 182 * 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,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01531/1.866, allocations: 9.771 MB / 0.9798 GB, free: 92.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01416/1.88, allocations: 8.726 MB / 0.9883 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.88, allocations: 0 / 0.9883 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006484/1.887, allocations: 3.997 MB / 0.9922 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/1.89, allocations: 445.4 kB / 0.9926 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4118/2.302, allocations: 132.6 MB / 1.122 GB, free: 117.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006392/2.309, allocations: 3.678 MB / 1.126 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007393/2.316, allocations: 2.15 MB / 1.128 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004688/2.321, allocations: 2.099 MB / 1.13 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.393e-06/2.321, allocations: 0.875 kB / 1.13 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1557/2.476, allocations: 106.3 MB / 1.234 GB, free: 54.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/2.477, allocations: 250 kB / 1.234 GB, free: 54.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.212/7.689, allocations: 0 / 1.234 GB, free: 54.12 MB / 0.5417 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