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.00105/0.00105, allocations: 112.6 kB / 17.09 MB, free: 5.988 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.001067/0.001067, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.8 MB, free: 456 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.001607/0.001607, allocations: 69.45 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1252, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01016/0.1354, allocations: 8.702 MB / 0.497 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007616/0.1431, allocations: 3.441 MB / 0.5004 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.1445, allocations: 47.88 kB / 0.5005 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.1475, allocations: 1.367 MB / 0.5018 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.1503, allocations: 0.9456 MB / 0.5027 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1515, allocations: 0.5146 MB / 0.5032 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002533/0.154, allocations: 1.702 MB / 0.5049 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/0.1562, allocations: 1.663 MB / 0.5065 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.1575, allocations: 0.6776 MB / 0.5072 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.159, allocations: 0.8957 MB / 0.508 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004239/0.1595, allocations: 136 kB / 0.5082 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.1609, allocations: 0.6046 MB / 0.5088 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009137/0.1618, allocations: 0.7365 MB / 0.5095 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.1631, allocations: 0.8315 MB / 0.5103 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002983/0.1661, allocations: 2.507 MB / 0.5127 GB, free: 2.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1661, allocations: 7.938 kB / 0.5127 GB, free: 2.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1661, allocations: 0 / 0.5127 GB, free: 2.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.768e-05/0.1663, allocations: 0 / 0.5127 GB, free: 2.875 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.00498/0.1712, allocations: 2.005 MB / 0.5147 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.1713, allocations: 15.88 kB / 0.5147 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.1727, allocations: 266.5 kB / 0.515 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.1751, allocations: 1.138 MB / 0.5161 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.949e-05/0.1753, allocations: 94.58 kB / 0.5162 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.1756, allocations: 131.9 kB / 0.5163 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005201/0.1808, allocations: 2.98 MB / 0.5192 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.1808, allocations: 7.938 kB / 0.5192 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.181, allocations: 67.89 kB / 0.5193 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006305/0.1816, allocations: 438 kB / 0.5197 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/0.1861, allocations: 2.16 MB / 0.5218 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.253/0.4392, allocations: 10.69 MB / 0.5322 GB, free: 33.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003658/0.4428, allocations: 1.226 MB / 0.5334 GB, free: 33.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.4434, allocations: 412 kB / 0.5338 GB, free: 33.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003278/0.4467, allocations: 2.995 MB / 0.5368 GB, free: 32.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4468, allocations: 43.61 kB / 0.5368 GB, free: 32.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.354e-06/0.4468, allocations: 1.188 kB / 0.5368 GB, free: 32.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01075/0.4575, allocations: 3.768 MB / 0.5405 GB, free: 31.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.4576, allocations: 84.64 kB / 0.5406 GB, free: 31.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.4595, allocations: 1.206 MB / 0.5417 GB, free: 31.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.4596, allocations: 31.8 kB / 0.5418 GB, free: 30.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006983/0.4603, allocations: 0.9422 MB / 0.5427 GB, free: 30.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.4605, allocations: 221.2 kB / 0.5429 GB, free: 30.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005201/0.461, allocations: 312.1 kB / 0.5432 GB, free: 29.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.4611, allocations: 301.7 kB / 0.5435 GB, free: 29.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009581/0.462, allocations: 416.2 kB / 0.5439 GB, free: 29.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.4637, allocations: 1.254 MB / 0.5451 GB, free: 28.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.4658, allocations: 1.81 MB / 0.5469 GB, free: 26.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/0.4658, allocations: 8.156 kB / 0.5469 GB, free: 26.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002582/0.4684, allocations: 1.728 MB / 0.5486 GB, free: 26.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.4684, allocations: 17.66 kB / 0.5486 GB, free: 26.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/0.4685, allocations: 29.06 kB / 0.5486 GB, free: 26.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/0.4687, allocations: 87.45 kB / 0.5487 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.4697, allocations: 362.8 kB / 0.5491 GB, free: 26.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.471, allocations: 1.875 MB / 0.5509 GB, free: 24.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.4718, allocations: 72.42 kB / 0.551 GB, free: 24.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-05/0.4719, allocations: 88.38 kB / 0.551 GB, free: 24.29 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.0007427/0.4727, allocations: 0.6526 MB / 0.5517 GB, free: 23.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.4728, allocations: 111.5 kB / 0.5518 GB, free: 23.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.4739, allocations: 0.7115 MB / 0.5525 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.474, allocations: 2.625 kB / 0.5525 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.474, allocations: 1.094 kB / 0.5525 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.4742, allocations: 221.5 kB / 0.5527 GB, free: 23.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.4743, allocations: 11.47 kB / 0.5527 GB, free: 23.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.4747, allocations: 20.73 kB / 0.5527 GB, free: 23.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.4747, allocations: 39.25 kB / 0.5528 GB, free: 23.37 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001166/0.4759, allocations: 0.716 MB / 0.5535 GB, free: 23.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001208/0.4771, allocations: 1.106 MB / 0.5545 GB, free: 22.5 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003378/0.4775, allocations: 252.7 kB / 0.5548 GB, free: 22.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009152/0.4784, allocations: 0.7669 MB / 0.5555 GB, free: 22.12 MB / 414.1 MB Notification: Performance of Backend: time 4.01e-07/0.4784, allocations: 0 / 0.5555 GB, free: 22.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002035/0.4804, allocations: 1.111 MB / 0.5566 GB, free: 21.65 MB / 414.1 MB Notification: Performance of SimCode: time 0.003892/0.4844, allocations: 3.249 MB / 0.5598 GB, free: 19.88 MB / 414.1 MB Notification: Performance of Templates: time 0.01888/0.5032, allocations: 13.72 MB / 0.5732 GB, free: 9.812 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/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