Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 105.2 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2228/0.2228, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 73.45 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1273, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009808/0.1372, allocations: 8.684 MB / 0.4964 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006558/0.1438, allocations: 3.445 MB / 0.4997 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009339/0.1447, allocations: 43.88 kB / 0.4998 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.1472, allocations: 1.374 MB / 0.5011 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.1492, allocations: 0.9612 MB / 0.5021 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009631/0.1502, allocations: 0.5186 MB / 0.5026 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.1519, allocations: 1.706 MB / 0.5042 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.1536, allocations: 1.655 MB / 0.5059 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007968/0.1544, allocations: 0.6814 MB / 0.5065 GB, free: 8.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.1554, allocations: 0.8957 MB / 0.5074 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.1557, allocations: 140 kB / 0.5075 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.1568, allocations: 0.5968 MB / 0.5081 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007622/0.1575, allocations: 0.7481 MB / 0.5088 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000855/0.1584, allocations: 0.8314 MB / 0.5097 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.161, allocations: 2.504 MB / 0.5121 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.161, allocations: 0 / 0.5121 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.161, allocations: 0 / 0.5121 GB, free: 2.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.161, allocations: 0 / 0.5121 GB, free: 2.867 MB / 398.1 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.003206/0.1642, allocations: 2.009 MB / 0.5141 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1643, allocations: 11.89 kB / 0.5141 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000989/0.1653, allocations: 266.5 kB / 0.5143 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.167, allocations: 1.149 MB / 0.5154 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.1671, allocations: 94.58 kB / 0.5155 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.1673, allocations: 124 kB / 0.5157 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004634/0.172, allocations: 2.984 MB / 0.5186 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.082e-05/0.172, allocations: 11.88 kB / 0.5186 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.1722, allocations: 59.97 kB / 0.5186 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000569/0.1728, allocations: 430 kB / 0.519 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004643/0.1774, allocations: 2.16 MB / 0.5212 GB, free: 9.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3459/0.5234, allocations: 10.69 MB / 0.5316 GB, free: 33.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/0.5277, allocations: 1.224 MB / 0.5328 GB, free: 33.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/0.5284, allocations: 415.2 kB / 0.5332 GB, free: 33.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004293/0.5327, allocations: 2.995 MB / 0.5361 GB, free: 32.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.5328, allocations: 46.44 kB / 0.5362 GB, free: 32.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.545e-06/0.5328, allocations: 0 / 0.5362 GB, free: 32.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01133/0.5441, allocations: 3.768 MB / 0.5398 GB, free: 31.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.5442, allocations: 86.12 kB / 0.5399 GB, free: 31.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.5461, allocations: 1.204 MB / 0.5411 GB, free: 31.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.5462, allocations: 36 kB / 0.5411 GB, free: 30.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006496/0.5468, allocations: 0.9391 MB / 0.542 GB, free: 30.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.547, allocations: 219.9 kB / 0.5423 GB, free: 30.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004734/0.5475, allocations: 310.2 kB / 0.5426 GB, free: 29.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.5475, allocations: 306.5 kB / 0.5428 GB, free: 29.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008545/0.5484, allocations: 416.1 kB / 0.5432 GB, free: 29.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.5495, allocations: 1.259 MB / 0.5445 GB, free: 28.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.5513, allocations: 1.805 MB / 0.5462 GB, free: 26.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.037e-05/0.5513, allocations: 8.156 kB / 0.5462 GB, free: 26.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002756/0.5541, allocations: 1.735 MB / 0.5479 GB, free: 26.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.5542, allocations: 23.03 kB / 0.548 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.893e-05/0.5542, allocations: 28.38 kB / 0.548 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.5544, allocations: 87.7 kB / 0.5481 GB, free: 26.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.5555, allocations: 357.4 kB / 0.5484 GB, free: 26.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.5568, allocations: 1.875 MB / 0.5502 GB, free: 24.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.5579, allocations: 74.03 kB / 0.5503 GB, free: 24.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.558, allocations: 85.39 kB / 0.5504 GB, free: 24.27 MB / 414.1 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.0009998/0.559, allocations: 0.6536 MB / 0.551 GB, free: 23.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.5592, allocations: 111.7 kB / 0.5511 GB, free: 23.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.5604, allocations: 0.7109 MB / 0.5518 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.5605, allocations: 6.156 kB / 0.5518 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5605, allocations: 1.969 kB / 0.5518 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.5605, allocations: 2.812 kB / 0.5518 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/0.5641, allocations: 2.24 MB / 0.554 GB, free: 22.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.5641, allocations: 4.781 kB / 0.554 GB, free: 22.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.5645, allocations: 101.8 kB / 0.5541 GB, free: 22.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/0.5647, allocations: 69.2 kB / 0.5542 GB, free: 22.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.5648, allocations: 12.69 kB / 0.5542 GB, free: 22.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.5662, allocations: 1.939 MB / 0.5561 GB, free: 20.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.5663, allocations: 8.062 kB / 0.5561 GB, free: 20.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.5679, allocations: 1.099 MB / 0.5572 GB, free: 20.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.5683, allocations: 216.1 kB / 0.5574 GB, free: 19.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5684, allocations: 16.09 kB / 0.5574 GB, free: 19.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.5688, allocations: 34.33 kB / 0.5574 GB, free: 19.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.5689, allocations: 47.45 kB / 0.5575 GB, free: 19.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.5689, allocations: 19.06 kB / 0.5575 GB, free: 19.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001343/0.5703, allocations: 0.7693 MB / 0.5583 GB, free: 19.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5703, allocations: 0 / 0.5583 GB, free: 19.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001904/0.5722, allocations: 303.9 kB / 0.5585 GB, free: 19.55 MB / 414.1 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.0002622/0.5725, allocations: 121.3 kB / 0.5587 GB, free: 19.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.5743, allocations: 1.109 MB / 0.5597 GB, free: 19.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5743, allocations: 0 / 0.5597 GB, free: 19.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004485/0.5748, allocations: 411.1 kB / 0.5601 GB, free: 18.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008845/0.5757, allocations: 200 kB / 0.5603 GB, free: 18.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.5795, allocations: 2.815 MB / 0.5631 GB, free: 17.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008931/0.5804, allocations: 1.464 MB / 0.5645 GB, free: 16.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007694/0.5812, allocations: 409.9 kB / 0.5649 GB, free: 16.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.5813, allocations: 77.91 kB / 0.565 GB, free: 16.27 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5813, allocations: 0 / 0.565 GB, free: 16.27 MB / 414.1 MB Notification: Performance of Templates: time 0.0174/0.5987, allocations: 10.85 MB / 0.5756 GB, free: 6.344 MB / 414.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches