Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008681/0.0008682, allocations: 170.4 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.6 MB / 222.4 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000764/0.0007639, allocations: 87.14 kB / 270.8 MB, free: 8.137 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3785/0.3785, allocations: 43.67 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8 kB / 432.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 58.85 MB / 491.2 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.274/0.4127, allocations: 27.22 MB / 0.5062 GB, free: 31.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0177/0.4304, allocations: 9.241 MB / 0.5152 GB, free: 23.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00747/0.4379, allocations: 117.8 kB / 0.5154 GB, free: 23.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.4395, allocations: 452.2 kB / 0.5158 GB, free: 23.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005034/0.4445, allocations: 1.664 MB / 0.5174 GB, free: 22.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.4455, allocations: 402.5 kB / 0.5178 GB, free: 22.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005247/0.4508, allocations: 5.111 MB / 0.5228 GB, free: 21.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003468/0.4543, allocations: 2.755 MB / 0.5255 GB, free: 19.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.4561, allocations: 1.078 MB / 0.5265 GB, free: 19.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.4582, allocations: 1.743 MB / 0.5282 GB, free: 18.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003603/0.4586, allocations: 140.2 kB / 0.5284 GB, free: 18.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.4602, allocations: 0.7567 MB / 0.5291 GB, free: 18.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.4613, allocations: 1.509 MB / 0.5306 GB, free: 18.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.4626, allocations: 1.849 MB / 0.5324 GB, free: 16.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006708/0.4693, allocations: 5.762 MB / 0.538 GB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.4693, allocations: 4 kB / 0.538 GB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4693, allocations: 0 / 0.538 GB, free: 15.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002104/0.4696, allocations: 0 / 0.538 GB, free: 15.11 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.006585/0.4762, allocations: 3.393 MB / 0.5413 GB, free: 13.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4762, allocations: 13.22 kB / 0.5413 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.4866, allocations: 3.165 MB / 0.5444 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005637/0.4922, allocations: 1.975 MB / 0.5464 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.4925, allocations: 196.6 kB / 0.5466 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000846/0.4933, allocations: 255.9 kB / 0.5468 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/0.5115, allocations: 10.39 MB / 0.5569 GB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.177e-05/0.5116, allocations: 26.5 kB / 0.557 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003574/0.512, allocations: 122.9 kB / 0.5571 GB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00384/0.5158, allocations: 2.554 MB / 0.5596 GB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/0.5344, allocations: 9.416 MB / 0.5688 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05103/0.5855, allocations: 32.49 MB / 0.6005 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006429/0.592, allocations: 3.382 MB / 0.6038 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.5938, allocations: 1.073 MB / 0.6049 GB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.5951, allocations: 1.305 MB / 0.6061 GB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.135e-05/0.5953, allocations: 55.88 kB / 0.6062 GB, free: 1.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 5.069e-06/0.5953, allocations: 0 / 0.6062 GB, free: 1.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.02362/0.6189, allocations: 9.748 MB / 0.6157 GB, free: 7.512 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.619, allocations: 94.45 kB / 0.6158 GB, free: 7.398 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004982/0.624, allocations: 2.641 MB / 0.6184 GB, free: 4.738 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.6241, allocations: 45.7 kB / 0.6184 GB, free: 4.688 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002343/0.6265, allocations: 2.747 MB / 0.6211 GB, free: 1.898 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007933/0.6273, allocations: 0.7132 MB / 0.6218 GB, free: 1.176 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.6276, allocations: 99.98 kB / 0.6219 GB, free: 1.078 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003798/0.628, allocations: 0.5208 MB / 0.6224 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/0.6307, allocations: 1.544 MB / 0.6239 GB, free: 15 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004925/0.6356, allocations: 4.458 MB / 0.6283 GB, free: 9.094 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008765/0.6444, allocations: 6.676 MB / 0.6348 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.505e-05/0.6445, allocations: 32 kB / 0.6348 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01129/0.6558, allocations: 5.905 MB / 0.6406 GB, free: 11.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.313e-05/0.656, allocations: 51.94 kB / 0.6406 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/0.6561, allocations: 100 kB / 0.6407 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/0.6566, allocations: 177.6 kB / 0.6409 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003939/0.6605, allocations: 1.1 MB / 0.642 GB, free: 9.605 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.6624, allocations: 1.686 MB / 0.6436 GB, free: 7.789 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/0.6662, allocations: 219.8 kB / 0.6438 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000884/0.6671, allocations: 296 kB / 0.6441 GB, free: 7.289 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (609): * Single equations (assignments): 602 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005596/0.6727, allocations: 2.028 MB / 0.6461 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007152/0.6734, allocations: 256.7 kB / 0.6463 GB, free: 4.992 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004637/0.6781, allocations: 2.526 MB / 0.6488 GB, free: 2.441 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/0.6781, allocations: 20 kB / 0.6488 GB, free: 2.422 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.6781, allocations: 7.938 kB / 0.6488 GB, free: 2.414 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.6781, allocations: 3.984 kB / 0.6488 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.6944, allocations: 8.156 MB / 0.6568 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.713e-05/0.6945, allocations: 8.219 kB / 0.6568 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.6955, allocations: 259.5 kB / 0.657 GB, free: 9.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.6957, allocations: 64.77 kB / 0.6571 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.6959, allocations: 39.98 kB / 0.6571 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.6972, allocations: 1.515 MB / 0.6586 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/0.6973, allocations: 19.88 kB / 0.6586 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/0.7028, allocations: 4.031 MB / 0.6626 GB, free: 3.828 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.7041, allocations: 0.5056 MB / 0.6631 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006081/0.7048, allocations: 32 kB / 0.6631 GB, free: 3.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.7059, allocations: 64 kB / 0.6632 GB, free: 3.207 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.7061, allocations: 124.6 kB / 0.6633 GB, free: 3.086 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.7063, allocations: 64 kB / 0.6633 GB, free: 3.023 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003311/0.7096, allocations: 1.612 MB / 0.6649 GB, free: 1.402 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7096, allocations: 0 / 0.6649 GB, free: 1.402 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004865/0.7145, allocations: 0.8125 MB / 0.6657 GB, free: 0.5898 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 134 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005358/0.715, allocations: 190.7 kB / 0.6659 GB, free: 400 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00678/0.7218, allocations: 3.88 MB / 0.6697 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.7219, allocations: 0 / 0.6697 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.7238, allocations: 1.233 MB / 0.6709 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005461/0.7292, allocations: 335.5 kB / 0.6712 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2916/1.021, allocations: 10.85 MB / 0.6818 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006798/1.028, allocations: 3.202 MB / 0.6849 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004556/1.032, allocations: 1.738 MB / 0.6866 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/1.033, allocations: 190.6 kB / 0.6868 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/1.033, allocations: 0 / 0.6868 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.04807/1.081, allocations: 22.36 MB / 0.7086 GB, free: 149.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches