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.00138/0.00138, allocations: 98.47 kB / 15.98 MB, free: 6.352 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.001732/0.001732, allocations: 193.3 kB / 16.91 MB, free: 6.191 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.785/1.785, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5101/0.5101, allocations: 43.5 MB / 313.6 MB, free: 8.508 MB / 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.00169/0.00169, allocations: 63.91 kB / 382.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1741, allocations: 57.78 MB / 440 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3607/0.5349, allocations: 26.16 MB / 466.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01656/0.5515, allocations: 6.283 MB / 472.4 MB, free: 32.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008083/0.5597, allocations: 105.7 kB / 472.5 MB, free: 32.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00352/0.5632, allocations: 1.326 MB / 473.9 MB, free: 32.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.5669, allocations: 0.8712 MB / 474.7 MB, free: 31.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.5683, allocations: 492.7 kB / 475.2 MB, free: 31.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002971/0.5713, allocations: 1.688 MB / 476.9 MB, free: 30.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003531/0.5749, allocations: 1.734 MB / 478.6 MB, free: 30.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.577, allocations: 0.6918 MB / 479.3 MB, free: 29.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.5785, allocations: 0.9716 MB / 480.3 MB, free: 29.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.5787, allocations: 137 kB / 480.4 MB, free: 29.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.5799, allocations: 0.6034 MB / 481 MB, free: 29.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006074/0.5805, allocations: 0.7373 MB / 481.8 MB, free: 29.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008905/0.5814, allocations: 0.8436 MB / 482.6 MB, free: 28.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.5843, allocations: 2.461 MB / 485.1 MB, free: 27.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.5844, allocations: 7.031 kB / 485.1 MB, free: 27.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5844, allocations: 4 kB / 485.1 MB, free: 27.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.511e-05/0.5844, allocations: 0 / 485.1 MB, free: 27.68 MB / 382.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.003458/0.5879, allocations: 2.005 MB / 487.1 MB, free: 26.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.5879, allocations: 12.89 kB / 487.1 MB, free: 26.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.5889, allocations: 266.1 kB / 487.4 MB, free: 26.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.5907, allocations: 1.117 MB / 488.5 MB, free: 25.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.051e-05/0.5908, allocations: 91.05 kB / 488.6 MB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.591, allocations: 129.7 kB / 488.7 MB, free: 25.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006213/0.5972, allocations: 2.982 MB / 491.7 MB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.134e-05/0.5973, allocations: 19.64 kB / 491.7 MB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.5974, allocations: 55.25 kB / 491.8 MB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009963/0.5984, allocations: 436.2 kB / 492.2 MB, free: 24.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006351/0.6048, allocations: 2.16 MB / 494.3 MB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.6189, allocations: 10.74 MB / 0.4933 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004126/0.6231, allocations: 1.238 MB / 0.4945 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/0.6239, allocations: 404.5 kB / 0.4949 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005835/0.6297, allocations: 2.999 MB / 0.4978 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.6298, allocations: 43.02 kB / 0.4978 GB, free: 13.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.125e-06/0.6298, allocations: 0 / 0.4978 GB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01238/0.6422, allocations: 3.767 MB / 0.5015 GB, free: 12.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.6423, allocations: 84.45 kB / 0.5016 GB, free: 12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.6441, allocations: 1.201 MB / 0.5028 GB, free: 11.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.6441, allocations: 35.92 kB / 0.5028 GB, free: 11.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005655/0.6447, allocations: 0.9431 MB / 0.5037 GB, free: 10.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.6449, allocations: 219.8 kB / 0.5039 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/0.6452, allocations: 315.2 kB / 0.5042 GB, free: 10.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.6453, allocations: 310.7 kB / 0.5045 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006316/0.6459, allocations: 413.2 kB / 0.5049 GB, free: 9.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.647, allocations: 1.255 MB / 0.5061 GB, free: 8.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.6488, allocations: 1.81 MB / 0.5079 GB, free: 7.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/0.6489, allocations: 8.906 kB / 0.5079 GB, free: 7.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002603/0.6515, allocations: 1.729 MB / 0.5096 GB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.6515, allocations: 18.12 kB / 0.5096 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.925e-05/0.6516, allocations: 33.09 kB / 0.5096 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.6518, allocations: 89.7 kB / 0.5097 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009938/0.6528, allocations: 362.7 kB / 0.5101 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.6542, allocations: 1.882 MB / 0.5119 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.6553, allocations: 69.39 kB / 0.512 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.942e-05/0.6554, allocations: 89.22 kB / 0.5121 GB, free: 4.367 MB / 382.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.001011/0.6564, allocations: 0.6362 MB / 0.5127 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.6566, allocations: 110 kB / 0.5128 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.6578, allocations: 0.7251 MB / 0.5135 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.6578, allocations: 4.438 kB / 0.5135 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6578, allocations: 2.281 kB / 0.5135 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.6578, allocations: 3.984 kB / 0.5135 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.6611, allocations: 2.238 MB / 0.5157 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.6612, allocations: 5.375 kB / 0.5157 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.6615, allocations: 99.89 kB / 0.5158 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001865/0.6617, allocations: 60.81 kB / 0.5159 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.6617, allocations: 19.88 kB / 0.5159 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.6631, allocations: 1.935 MB / 0.5178 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.6631, allocations: 12 kB / 0.5178 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.6648, allocations: 1.092 MB / 0.5188 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004122/0.6652, allocations: 219.6 kB / 0.5191 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.6654, allocations: 23.98 kB / 0.5191 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.6657, allocations: 23.98 kB / 0.5191 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/0.6658, allocations: 51.89 kB / 0.5191 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.6659, allocations: 20 kB / 0.5192 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001175/0.667, allocations: 0.7677 MB / 0.5199 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6671, allocations: 0 / 0.5199 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001973/0.669, allocations: 300 kB / 0.5202 GB, free: 12.97 MB / 398.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.0003545/0.6694, allocations: 143 kB / 0.5203 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002161/0.6716, allocations: 1.194 MB / 0.5215 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6716, allocations: 0 / 0.5215 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.6721, allocations: 411.3 kB / 0.5219 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.6733, allocations: 197.7 kB / 0.5221 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.6787, allocations: 3.505 MB / 0.5255 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.68, allocations: 1.462 MB / 0.5269 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001156/0.6812, allocations: 410.5 kB / 0.5273 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.6814, allocations: 75.44 kB / 0.5274 GB, free: 5.473 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6814, allocations: 0 / 0.5274 GB, free: 5.473 MB / 398.1 MB Notification: Performance of Templates: time 0.02386/0.7052, allocations: 10.47 MB / 0.5376 GB, free: 11.06 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches