Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002178/0.002178, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.231/2.231, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001097, allocations: 90.75 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3009/0.3009, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.683e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4565, allocations: 58.86 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.6555, allocations: 105.5 MB / 0.569 GB, free: 9.633 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.6558, allocations: 67.97 kB / 0.5691 GB, free: 9.566 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7813/1.437, allocations: 92.09 MB / 0.659 GB, free: 106.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 3.206e-06/1.437, allocations: 0 / 0.659 GB, free: 106.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004618/1.438, allocations: 91.72 kB / 0.6591 GB, free: 106.3 MB / 475.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.02814/1.466, allocations: 4.713 MB / 0.6637 GB, free: 104.4 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.712e-05/1.466, allocations: 9.25 kB / 0.6637 GB, free: 104.4 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02473/1.491, allocations: 2.245 MB / 0.6659 GB, free: 104.1 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02895/1.52, allocations: 5.09 MB / 0.6709 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004801/1.52, allocations: 142.3 kB / 0.671 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003252/1.524, allocations: 257.7 kB / 0.6713 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02376/1.547, allocations: 6.803 MB / 0.6779 GB, free: 103.4 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03576/1.583, allocations: 10.14 MB / 0.6878 GB, free: 99.02 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003987/1.584, allocations: 56.39 kB / 0.6879 GB, free: 99.02 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002936/1.587, allocations: 30.56 kB / 0.6879 GB, free: 99.02 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003437/1.59, allocations: 1.159 MB / 0.689 GB, free: 98.82 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1034/1.693, allocations: 49.39 MB / 0.7373 GB, free: 62.56 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/1.705, allocations: 4.366 MB / 0.7415 GB, free: 58.44 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007788/1.712, allocations: 3.067 MB / 0.7445 GB, free: 55.62 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/1.715, allocations: 1.344 MB / 0.7458 GB, free: 54.12 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00912/1.724, allocations: 3.126 MB / 0.7489 GB, free: 51.5 MB / 475.1 MB Notification: Performance of pre-optimization done (n=217): time 1.264e-05/1.724, allocations: 0 / 0.7489 GB, free: 51.5 MB / 475.1 MB Notification: Performance of matching and sorting (n=284): time 0.1535/1.877, allocations: 25.29 MB / 0.7736 GB, free: 27.67 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/1.878, allocations: 158.5 kB / 0.7737 GB, free: 27.49 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01107/1.889, allocations: 3.198 MB / 0.7769 GB, free: 24.3 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001273/1.89, allocations: 33.69 kB / 0.7769 GB, free: 24.27 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004782/1.895, allocations: 3.258 MB / 0.7801 GB, free: 20.96 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002414/1.897, allocations: 1.014 MB / 0.7811 GB, free: 19.94 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/1.899, allocations: 3.938 kB / 0.7811 GB, free: 19.93 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0007581/1.9, allocations: 0.5961 MB / 0.7817 GB, free: 19.33 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01019/1.91, allocations: 3.055 MB / 0.7846 GB, free: 16.27 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01389/1.924, allocations: 6.772 MB / 0.7913 GB, free: 7.641 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01406/1.938, allocations: 4.478 MB / 0.7956 GB, free: 3.16 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000193/1.938, allocations: 40 kB / 0.7957 GB, free: 3.121 MB / 475.1 MB Notification: Performance of matching and sorting (n=889) (initialization): time 0.05373/1.992, allocations: 11.31 MB / 0.8067 GB, free: 7.797 MB / 491.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/1.992, allocations: 61.41 kB / 0.8068 GB, free: 7.738 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003385/1.992, allocations: 132 kB / 0.8069 GB, free: 7.609 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0196/2.012, allocations: 2.638 MB / 0.8095 GB, free: 4.957 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01508/2.027, allocations: 1.521 MB / 0.811 GB, free: 3.43 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5507/2.578, allocations: 20.4 MB / 0.8309 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008663/2.587, allocations: 307.4 kB / 0.8312 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002108/2.589, allocations: 403.2 kB / 0.8316 GB, free: 118.7 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (790): * Single equations (assignments): 783 * 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,(2,100.0%) 14} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.00321/2.592, allocations: 458.7 kB / 0.832 GB, free: 118.6 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02912/2.621, allocations: 7.354 MB / 0.8392 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001776/2.623, allocations: 371.1 kB / 0.8395 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02894/2.652, allocations: 7.327 MB / 0.8467 GB, free: 118.2 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001117/2.652, allocations: 33.09 kB / 0.8467 GB, free: 118.2 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.397e-05/2.652, allocations: 9.188 kB / 0.8467 GB, free: 118.2 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-05/2.652, allocations: 16.83 kB / 0.8467 GB, free: 118.2 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04567/2.698, allocations: 13.55 MB / 0.86 GB, free: 116.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.795e-05/2.698, allocations: 7.422 kB / 0.86 GB, free: 116.4 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00414/2.702, allocations: 398 kB / 0.8604 GB, free: 116.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01144/2.714, allocations: 2.423 MB / 0.8627 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009149/2.715, allocations: 9.188 kB / 0.8627 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05125/2.766, allocations: 20.13 MB / 0.8824 GB, free: 105.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/2.766, allocations: 6.625 kB / 0.8824 GB, free: 105.4 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03066/2.797, allocations: 7.863 MB / 0.8901 GB, free: 102.4 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005158/2.802, allocations: 0.9332 MB / 0.891 GB, free: 101.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002359/2.805, allocations: 3.562 kB / 0.891 GB, free: 101.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006282/2.811, allocations: 170.1 kB / 0.8912 GB, free: 101.9 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001847/2.813, allocations: 193.7 kB / 0.8913 GB, free: 101.9 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007947/2.814, allocations: 74.97 kB / 0.8914 GB, free: 101.9 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.007314/2.821, allocations: 2.127 MB / 0.8935 GB, free: 101.1 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.613e-06/2.821, allocations: 0 / 0.8935 GB, free: 101.1 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01359/2.835, allocations: 1.17 MB / 0.8946 GB, free: 101.1 MB / 0.4952 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 181 * 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.03374/2.868, allocations: 9.242 MB / 0.9037 GB, free: 97.04 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.02553/2.894, allocations: 8.051 MB / 0.9115 GB, free: 92.92 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/2.894, allocations: 0 / 0.9115 GB, free: 92.92 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.01298/2.907, allocations: 3.731 MB / 0.9152 GB, free: 89.55 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00479/2.912, allocations: 357.1 kB / 0.9155 GB, free: 89.25 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04167/2.954, allocations: 11.56 MB / 0.9268 GB, free: 79.23 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006784/2.961, allocations: 3.674 MB / 0.9304 GB, free: 76.47 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005434/2.966, allocations: 2.101 MB / 0.9324 GB, free: 74.54 MB / 0.4952 GB Notification: Performance of SimCode: time 1.443e-06/2.966, allocations: 0 / 0.9324 GB, free: 74.54 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.234/8.2, allocations: 167.1 MB / 1.096 GB, free: 105.6 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat