Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 178.6 kB / 16.08 MB, free: 5.523 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.614/1.614, allocations: 205.6 MB / 222.4 MB, free: 13.66 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.0008657/0.0008657, allocations: 90.23 kB / 270.8 MB, free: 13.2 MB / 234.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.1986/0.1986, allocations: 43.7 MB / 362.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003214, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 58.86 MB / 491.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.03341/0.1544, allocations: 23.69 MB / 0.5028 GB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.1694, allocations: 9.051 MB / 0.5116 GB, free: 6.617 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003928/0.1734, allocations: 111.7 kB / 0.5117 GB, free: 6.508 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005992/0.174, allocations: 167.1 kB / 0.5119 GB, free: 6.344 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.1761, allocations: 0.8721 MB / 0.5127 GB, free: 5.469 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008836/0.177, allocations: 483.3 kB / 0.5132 GB, free: 4.996 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002178/0.1792, allocations: 2.319 MB / 0.5155 GB, free: 2.672 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2215/0.4007, allocations: 2.73 MB / 0.5181 GB, free: 16.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.4021, allocations: 0.5339 MB / 0.5187 GB, free: 16.22 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.4034, allocations: 0.7904 MB / 0.5194 GB, free: 16.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.4036, allocations: 60.02 kB / 0.5195 GB, free: 16.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.4048, allocations: 0.5473 MB / 0.52 GB, free: 16.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000675/0.4055, allocations: 0.6213 MB / 0.5206 GB, free: 16.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000745/0.4062, allocations: 0.7362 MB / 0.5213 GB, free: 15.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.4092, allocations: 2.345 MB / 0.5236 GB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4092, allocations: 3.938 kB / 0.5236 GB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4092, allocations: 0 / 0.5236 GB, free: 15.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.563e-05/0.4093, allocations: 0.9375 kB / 0.5236 GB, free: 15.64 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.00345/0.4127, allocations: 1.7 MB / 0.5253 GB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4128, allocations: 11.06 kB / 0.5253 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.414, allocations: 270 kB / 0.5256 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.4162, allocations: 1.126 MB / 0.5267 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.785e-05/0.4163, allocations: 90.34 kB / 0.5268 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.4165, allocations: 130.6 kB / 0.5269 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005314/0.4218, allocations: 2.982 MB / 0.5298 GB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.4219, allocations: 17.78 kB / 0.5298 GB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.422, allocations: 57.55 kB / 0.5299 GB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005929/0.4226, allocations: 441.6 kB / 0.5303 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00458/0.4272, allocations: 2.154 MB / 0.5324 GB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.4382, allocations: 10.74 MB / 0.5429 GB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.4416, allocations: 1.225 MB / 0.5441 GB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005433/0.4422, allocations: 405.1 kB / 0.5445 GB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003168/0.4454, allocations: 3.006 MB / 0.5474 GB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.4454, allocations: 38.84 kB / 0.5474 GB, free: 5.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 2.204e-06/0.4454, allocations: 0 / 0.5474 GB, free: 5.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0101/0.4555, allocations: 3.769 MB / 0.5511 GB, free: 4.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.4556, allocations: 87.55 kB / 0.5512 GB, free: 4.059 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.4569, allocations: 1.185 MB / 0.5524 GB, free: 3.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.457, allocations: 37.64 kB / 0.5524 GB, free: 3.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.4574, allocations: 0.9405 MB / 0.5533 GB, free: 3.035 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.4575, allocations: 224.8 kB / 0.5535 GB, free: 2.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.4576, allocations: 29.62 kB / 0.5535 GB, free: 2.883 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.298e-05/0.4577, allocations: 366.4 kB / 0.5539 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/0.4582, allocations: 409.4 kB / 0.5543 GB, free: 2.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000874/0.4591, allocations: 1.253 MB / 0.5555 GB, free: 1.297 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.4606, allocations: 1.798 MB / 0.5573 GB, free: 80 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.4606, allocations: 10.78 kB / 0.5573 GB, free: 76 kB / 362.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002327/0.463, allocations: 1.716 MB / 0.559 GB, free: 15.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.463, allocations: 16.53 kB / 0.559 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.266e-05/0.4631, allocations: 33.12 kB / 0.559 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.4633, allocations: 88.12 kB / 0.5591 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.4645, allocations: 362.6 kB / 0.5594 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.4659, allocations: 1.696 MB / 0.5611 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/0.4668, allocations: 68.61 kB / 0.5612 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.4669, allocations: 87.94 kB / 0.5612 GB, free: 13.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (194): * Single equations (assignments): 193 * Array equations: 0 * 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.001061/0.468, allocations: 0.6468 MB / 0.5619 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.4681, allocations: 114.5 kB / 0.562 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.4693, allocations: 0.7011 MB / 0.5627 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.4693, allocations: 4 kB / 0.5627 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4693, allocations: 4 kB / 0.5627 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.4694, allocations: 7.922 kB / 0.5627 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.4728, allocations: 2.244 MB / 0.5649 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.4728, allocations: 5.812 kB / 0.5649 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.4732, allocations: 93.67 kB / 0.565 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.4734, allocations: 67.91 kB / 0.565 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.4734, allocations: 16 kB / 0.565 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.4749, allocations: 1.75 MB / 0.5668 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.475, allocations: 8 kB / 0.5668 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.4764, allocations: 1.095 MB / 0.5678 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.4768, allocations: 223.6 kB / 0.568 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.4769, allocations: 19.94 kB / 0.5681 GB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.4773, allocations: 23.98 kB / 0.5681 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.4774, allocations: 55.39 kB / 0.5681 GB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.4774, allocations: 20 kB / 0.5682 GB, free: 7.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001011/0.4784, allocations: 0.7521 MB / 0.5689 GB, free: 6.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4784, allocations: 3.844 kB / 0.5689 GB, free: 6.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001357/0.4798, allocations: 308 kB / 0.5692 GB, free: 6.203 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002389/0.4801, allocations: 136.8 kB / 0.5693 GB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.4818, allocations: 1.092 MB / 0.5704 GB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.4818, allocations: 4 kB / 0.5704 GB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005324/0.4824, allocations: 403.1 kB / 0.5708 GB, free: 4.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.4839, allocations: 168.8 kB / 0.5709 GB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/0.4885, allocations: 3.586 MB / 0.5744 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.4897, allocations: 1.455 MB / 0.5759 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001107/0.4908, allocations: 409.9 kB / 0.5762 GB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.491, allocations: 79.44 kB / 0.5763 GB, free: 14.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4911, allocations: 0 / 0.5763 GB, free: 14.88 MB / 394.7 MB Notification: Performance of Templates: time 0.02063/0.5117, allocations: 10.01 MB / 0.5861 GB, free: 4.984 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches