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.001656/0.00166, allocations: 187.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 86.88 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3001/0.3001, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004814, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1245, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.06646/0.1911, allocations: 40.18 MB / 0.5181 GB, free: 0.957 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3648/0.556, allocations: 10.11 MB / 0.5279 GB, free: 9.789 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009647/0.5657, allocations: 209 kB / 0.5281 GB, free: 9.789 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008598/0.5744, allocations: 2.098 MB / 0.5302 GB, free: 9.711 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02574/0.6001, allocations: 5.851 MB / 0.5359 GB, free: 9.168 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004952/0.6052, allocations: 0.7198 MB / 0.5366 GB, free: 8.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006512/0.6117, allocations: 2.324 MB / 0.5389 GB, free: 8.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008607/0.6204, allocations: 3.905 MB / 0.5427 GB, free: 7.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.6245, allocations: 1.282 MB / 0.5439 GB, free: 6.824 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003634/0.6282, allocations: 1.445 MB / 0.5453 GB, free: 6.293 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.6294, allocations: 144.6 kB / 0.5455 GB, free: 6.293 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/0.633, allocations: 0.8757 MB / 0.5463 GB, free: 6.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003243/0.6363, allocations: 1.628 MB / 0.5479 GB, free: 5.574 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002062/0.6384, allocations: 0.8717 MB / 0.5488 GB, free: 5.359 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009351/0.6478, allocations: 5.436 MB / 0.5541 GB, free: 2.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6479, allocations: 0 / 0.5541 GB, free: 2.477 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.6479, allocations: 0 / 0.5541 GB, free: 2.477 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003141/0.6482, allocations: 2.031 kB / 0.5541 GB, free: 2.477 MB / 362.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.01623/0.6645, allocations: 4.69 MB / 0.5587 GB, free: 15.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.6645, allocations: 9.094 kB / 0.5587 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002965/0.6675, allocations: 0.7489 MB / 0.5594 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/0.6816, allocations: 2.203 MB / 0.5616 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008878/0.6905, allocations: 2.717 MB / 0.5642 GB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/0.6909, allocations: 232.9 kB / 0.5644 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00213/0.6931, allocations: 328.7 kB / 0.5647 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03741/0.7305, allocations: 11.34 MB / 0.5758 GB, free: 1.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002543/0.7309, allocations: 51.52 kB / 0.5759 GB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001777/0.7326, allocations: 154.4 kB / 0.576 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007904/0.7406, allocations: 2.29 MB / 0.5783 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03583/0.7765, allocations: 10.03 MB / 0.5881 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09465/0.8712, allocations: 44.43 MB / 0.6314 GB, free: 7.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0281/0.8993, allocations: 5.995 MB / 0.6373 GB, free: 1.344 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03424/0.9337, allocations: 9.418 MB / 0.6465 GB, free: 7.664 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03017/0.9639, allocations: 3.494 MB / 0.6499 GB, free: 4.145 MB / 458.7 MB Notification: Performance of pre-optimization done (n=211): time 1.375e-05/0.964, allocations: 4 kB / 0.6499 GB, free: 4.141 MB / 458.7 MB Notification: Performance of matching and sorting (n=285): time 0.2524/1.216, allocations: 34.62 MB / 0.6837 GB, free: 1.453 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/1.217, allocations: 158.7 kB / 0.6839 GB, free: 1.266 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/1.228, allocations: 4.322 MB / 0.6881 GB, free: 12.92 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009017/1.229, allocations: 65.7 kB / 0.6882 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004389/1.233, allocations: 3.143 MB / 0.6912 GB, free: 9.723 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002435/1.236, allocations: 1.049 MB / 0.6922 GB, free: 8.684 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/1.237, allocations: 136 kB / 0.6924 GB, free: 8.551 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006884/1.238, allocations: 0.5838 MB / 0.6929 GB, free: 7.957 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009705/1.248, allocations: 3.343 MB / 0.6962 GB, free: 4.609 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01488/1.262, allocations: 6.928 MB / 0.703 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01328/1.276, allocations: 4.716 MB / 0.7076 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/1.276, allocations: 36 kB / 0.7076 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.3888/1.665, allocations: 12.38 MB / 0.7197 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/1.665, allocations: 59.72 kB / 0.7198 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002259/1.665, allocations: 124.4 kB / 0.7199 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01386/1.679, allocations: 2.666 MB / 0.7225 GB, free: 175.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01043/1.69, allocations: 1.478 MB / 0.7239 GB, free: 175.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04743/1.737, allocations: 22.29 MB / 0.7457 GB, free: 164.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008712/1.746, allocations: 436.1 kB / 0.7461 GB, free: 164 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/1.748, allocations: 389.6 kB / 0.7465 GB, free: 164 MB / 0.5105 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.007082/1.755, allocations: 2.234 MB / 0.7487 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.756, allocations: 408.1 kB / 0.749 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0263/1.782, allocations: 7.993 MB / 0.7569 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.991e-05/1.783, allocations: 32.44 kB / 0.7569 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.574e-05/1.783, allocations: 8.312 kB / 0.7569 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.359e-05/1.783, allocations: 15.2 kB / 0.7569 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04986/1.833, allocations: 14.8 MB / 0.7714 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.382e-05/1.833, allocations: 7.875 kB / 0.7714 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005258/1.838, allocations: 391.4 kB / 0.7717 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01905/1.857, allocations: 2.43 MB / 0.7741 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009234/1.858, allocations: 52.86 kB / 0.7742 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04268/1.901, allocations: 22.04 MB / 0.7957 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.901, allocations: 8.156 kB / 0.7957 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02393/1.925, allocations: 8.346 MB / 0.8038 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003797/1.929, allocations: 1.015 MB / 0.8048 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/1.93, allocations: 55.98 kB / 0.8049 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004722/1.935, allocations: 215.7 kB / 0.8051 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001528/1.937, allocations: 189.4 kB / 0.8053 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000494/1.937, allocations: 73.41 kB / 0.8053 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006911/1.944, allocations: 2.72 MB / 0.808 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.032e-06/1.944, allocations: 0 / 0.808 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01398/1.958, allocations: 1.378 MB / 0.8093 GB, free: 108.3 MB / 0.5105 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.0282/1.986, allocations: 9.827 MB / 0.8189 GB, free: 98.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02124/2.008, allocations: 8.823 MB / 0.8276 GB, free: 89.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/2.008, allocations: 0 / 0.8276 GB, free: 89.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01034/2.018, allocations: 4.068 MB / 0.8315 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/2.022, allocations: 437.7 kB / 0.832 GB, free: 84.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4829/2.505, allocations: 132.6 MB / 0.9615 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007502/2.513, allocations: 3.683 MB / 0.9651 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005746/2.519, allocations: 2.126 MB / 0.9672 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.883e-06/2.519, allocations: 0 / 0.9672 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.561/8.08, allocations: 171.4 MB / 1.135 GB, free: 162.2 MB / 0.5105 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