Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01164/0.01165, allocations: 109.6 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001643/0.001643, allocations: 182.1 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.181/2.181, allocations: 194.6 MB / 211.3 MB, free: 10.98 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2891/0.2891, allocations: 40.04 MB / 296.5 MB, free: 6.332 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004605, allocations: 15.92 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.119, allocations: 54.88 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.3943/0.5134, allocations: 38.46 MB / 454.5 MB, free: 30.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02437/0.5378, allocations: 9.739 MB / 464.2 MB, free: 29.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007406/0.5453, allocations: 197.3 kB / 464.4 MB, free: 29.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006935/0.5523, allocations: 2.047 MB / 466.5 MB, free: 29.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01994/0.5723, allocations: 5.563 MB / 472 MB, free: 28.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004092/0.5764, allocations: 0.7083 MB / 472.7 MB, free: 28.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005449/0.5819, allocations: 2.309 MB / 475 MB, free: 28.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007187/0.5891, allocations: 3.897 MB / 478.9 MB, free: 28.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.5924, allocations: 1.279 MB / 480.2 MB, free: 28.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/0.5956, allocations: 1.438 MB / 481.6 MB, free: 27.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009786/0.5966, allocations: 143 kB / 481.8 MB, free: 27.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003262/0.5999, allocations: 0.9221 MB / 482.7 MB, free: 27.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002942/0.6029, allocations: 1.624 MB / 484.3 MB, free: 27.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.6048, allocations: 0.8775 MB / 485.2 MB, free: 27.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.6165, allocations: 5.448 MB / 490.7 MB, free: 27.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6165, allocations: 1.156 kB / 490.7 MB, free: 27.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.6166, allocations: 0 / 490.7 MB, free: 27.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003726/0.6169, allocations: 0 / 490.7 MB, free: 27.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1594 * Number of variables: 1594 Notification: Performance of Generate backend data structure: time 0.02025/0.6372, allocations: 4.85 MB / 495.5 MB, free: 24.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.6373, allocations: 8.75 kB / 495.5 MB, free: 24.47 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003535/0.6408, allocations: 0.7508 MB / 496.3 MB, free: 24.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/0.655, allocations: 2.201 MB / 498.5 MB, free: 23.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00913/0.6642, allocations: 2.728 MB / 0.4894 GB, free: 22.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.6645, allocations: 234.1 kB / 0.4897 GB, free: 22.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002309/0.6669, allocations: 323.2 kB / 0.49 GB, free: 22.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03536/0.7023, allocations: 11.41 MB / 0.5011 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002507/0.7026, allocations: 48.94 kB / 0.5012 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002307/0.7049, allocations: 154.9 kB / 0.5013 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005426/0.7104, allocations: 2.125 MB / 0.5034 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03261/0.743, allocations: 10.03 MB / 0.5132 GB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1082/0.8512, allocations: 44.33 MB / 0.5565 GB, free: 8.461 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02757/0.8789, allocations: 5.995 MB / 0.5623 GB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0256/0.9045, allocations: 9.389 MB / 0.5715 GB, free: 8.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02052/0.9251, allocations: 3.505 MB / 0.5749 GB, free: 5.129 MB / 442.7 MB Notification: Performance of pre-optimization done (n=211): time 7.935e-06/0.9251, allocations: 0 / 0.5749 GB, free: 5.129 MB / 442.7 MB Notification: Performance of matching and sorting (n=282): time 0.2216/1.147, allocations: 33.83 MB / 0.608 GB, free: 3.234 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.147, allocations: 162.5 kB / 0.6081 GB, free: 3.043 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009753/1.157, allocations: 4.283 MB / 0.6123 GB, free: 14.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.158, allocations: 69.7 kB / 0.6124 GB, free: 14.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004472/1.162, allocations: 3.236 MB / 0.6155 GB, free: 11.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002285/1.165, allocations: 1.033 MB / 0.6165 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/1.166, allocations: 132 kB / 0.6167 GB, free: 10.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005798/1.166, allocations: 0.5829 MB / 0.6172 GB, free: 9.684 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00932/1.176, allocations: 3.269 MB / 0.6204 GB, free: 6.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3257/1.501, allocations: 6.823 MB / 0.6271 GB, free: 151.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/1.513, allocations: 4.66 MB / 0.6316 GB, free: 151.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/1.513, allocations: 41.03 kB / 0.6317 GB, free: 151.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=858) (initialization): time 0.04479/1.558, allocations: 12.38 MB / 0.6438 GB, free: 148.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002075/1.558, allocations: 90.61 kB / 0.6439 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002497/1.558, allocations: 124.8 kB / 0.644 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01719/1.575, allocations: 2.66 MB / 0.6466 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/1.588, allocations: 1.453 MB / 0.648 GB, free: 147.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05427/1.643, allocations: 22.28 MB / 0.6697 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008593/1.651, allocations: 439.8 kB / 0.6702 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/1.653, allocations: 387.8 kB / 0.6705 GB, free: 136 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 568 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[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],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[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.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 (755): * Single equations (assignments): 747 * Array equations: 3 * Algorithm blocks: 1 * 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,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.006518/1.659, allocations: 2.223 MB / 0.6727 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.66, allocations: 400 kB / 0.6731 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02384/1.684, allocations: 7.806 MB / 0.6807 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.136e-05/1.684, allocations: 28.31 kB / 0.6807 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-05/1.684, allocations: 9.344 kB / 0.6807 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.825e-05/1.684, allocations: 16.75 kB / 0.6808 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04697/1.731, allocations: 14.46 MB / 0.6949 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/1.731, allocations: 3.953 kB / 0.6949 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00395/1.735, allocations: 387.4 kB / 0.6953 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01104/1.746, allocations: 2.419 MB / 0.6976 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007213/1.747, allocations: 44 kB / 0.6977 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04987/1.797, allocations: 22.13 MB / 0.7193 GB, free: 95.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.797, allocations: 8.062 kB / 0.7193 GB, free: 95.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02766/1.825, allocations: 8.174 MB / 0.7273 GB, free: 87.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003848/1.829, allocations: 0.9823 MB / 0.7282 GB, free: 86.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001792/1.831, allocations: 51.31 kB / 0.7283 GB, free: 86.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004867/1.835, allocations: 215.7 kB / 0.7285 GB, free: 86.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001636/1.837, allocations: 189.7 kB / 0.7287 GB, free: 86.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005784/1.838, allocations: 71.36 kB / 0.7287 GB, free: 86.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006832/1.845, allocations: 2.7 MB / 0.7314 GB, free: 83.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.845, allocations: 4 kB / 0.7314 GB, free: 83.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009873/1.855, allocations: 1.361 MB / 0.7327 GB, free: 81.96 MB / 490.7 MB 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 (185): * Single equations (assignments): 176 * 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,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.02828/1.883, allocations: 9.623 MB / 0.7421 GB, free: 72.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02192/1.905, allocations: 8.744 MB / 0.7506 GB, free: 63.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.905, allocations: 0 / 0.7506 GB, free: 63.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0107/1.916, allocations: 3.93 MB / 0.7545 GB, free: 59.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/1.92, allocations: 446.8 kB / 0.7549 GB, free: 59.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3685/2.288, allocations: 108 MB / 0.8604 GB, free: 94.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007512/2.296, allocations: 3.662 MB / 0.864 GB, free: 93.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009857/2.306, allocations: 2.104 MB / 0.866 GB, free: 93.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006301/2.312, allocations: 2.076 MB / 0.8681 GB, free: 93.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/2.312, allocations: 0 / 0.8681 GB, free: 93.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2949/2.607, allocations: 105.1 MB / 0.9707 GB, free: 18.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/2.607, allocations: 286.1 kB / 0.971 GB, free: 18.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.872/8.48, allocations: 0 / 0.971 GB, free: 18.54 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat