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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009812/0.0009809, allocations: 105.6 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3799/0.3799, allocations: 43.49 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001024, allocations: 55.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1222, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0254/0.1477, allocations: 26.16 MB / 0.5011 GB, free: 2.277 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.2425/0.3902, allocations: 6.368 MB / 0.5074 GB, free: 36.71 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007228/0.3975, allocations: 110.2 kB / 0.5075 GB, free: 36.71 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.4022, allocations: 1.367 MB / 0.5088 GB, free: 36.67 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.4061, allocations: 0.8596 MB / 0.5096 GB, free: 36.62 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.4077, allocations: 481 kB / 0.5101 GB, free: 36.61 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003389/0.4111, allocations: 2.332 MB / 0.5124 GB, free: 36.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.4136, allocations: 1.632 MB / 0.514 GB, free: 36.24 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.415, allocations: 0.6295 MB / 0.5146 GB, free: 36.11 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.4163, allocations: 0.9434 MB / 0.5155 GB, free: 35.85 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.4165, allocations: 103.1 kB / 0.5156 GB, free: 35.85 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.4177, allocations: 0.6058 MB / 0.5162 GB, free: 35.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006505/0.4183, allocations: 0.7037 MB / 0.5169 GB, free: 35.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008074/0.4192, allocations: 0.7977 MB / 0.5177 GB, free: 35.01 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.4213, allocations: 2.426 MB / 0.52 GB, free: 34.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4213, allocations: 0 / 0.52 GB, free: 34.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4213, allocations: 0 / 0.52 GB, free: 34.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.4213, allocations: 0 / 0.52 GB, free: 34.21 MB / 394.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.003183/0.4245, allocations: 2.013 MB / 0.522 GB, free: 33.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4246, allocations: 12.03 kB / 0.522 GB, free: 33.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000984/0.4256, allocations: 267 kB / 0.5223 GB, free: 32.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.4274, allocations: 1.106 MB / 0.5233 GB, free: 32.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.4275, allocations: 95.06 kB / 0.5234 GB, free: 32.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.4276, allocations: 128.8 kB / 0.5236 GB, free: 32.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004338/0.432, allocations: 2.986 MB / 0.5265 GB, free: 30.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.4321, allocations: 11.19 kB / 0.5265 GB, free: 30.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.4322, allocations: 60.5 kB / 0.5265 GB, free: 30.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004992/0.4327, allocations: 440.8 kB / 0.527 GB, free: 30.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/0.4366, allocations: 2.161 MB / 0.5291 GB, free: 30.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.4471, allocations: 10.74 MB / 0.5396 GB, free: 23.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003344/0.4505, allocations: 1.226 MB / 0.5408 GB, free: 22.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.451, allocations: 414 kB / 0.5412 GB, free: 22.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003725/0.4547, allocations: 3.001 MB / 0.5441 GB, free: 20.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4548, allocations: 45.97 kB / 0.5441 GB, free: 20.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 3.256e-06/0.4548, allocations: 0 / 0.5441 GB, free: 20.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01132/0.4661, allocations: 3.77 MB / 0.5478 GB, free: 18.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.4662, allocations: 84.47 kB / 0.5479 GB, free: 18.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.4684, allocations: 1.201 MB / 0.5491 GB, free: 18.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.4685, allocations: 35.83 kB / 0.5491 GB, free: 18.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006942/0.4692, allocations: 0.9417 MB / 0.55 GB, free: 17.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.4694, allocations: 221.5 kB / 0.5502 GB, free: 17.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004898/0.4699, allocations: 312.2 kB / 0.5505 GB, free: 17.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.4699, allocations: 301.1 kB / 0.5508 GB, free: 16.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/0.4707, allocations: 418.6 kB / 0.5512 GB, free: 16.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.4718, allocations: 1.254 MB / 0.5524 GB, free: 15.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.4738, allocations: 1.806 MB / 0.5542 GB, free: 13.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.843e-05/0.4738, allocations: 9.719 kB / 0.5542 GB, free: 13.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003097/0.4769, allocations: 1.74 MB / 0.5559 GB, free: 13.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.477, allocations: 17.5 kB / 0.5559 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.156e-05/0.4771, allocations: 29.75 kB / 0.556 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/0.4773, allocations: 88 kB / 0.556 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.4784, allocations: 358.3 kB / 0.5564 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.4798, allocations: 1.695 MB / 0.558 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.4809, allocations: 65.17 kB / 0.5581 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.4811, allocations: 88.27 kB / 0.5582 GB, free: 11.58 MB / 394.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.001043/0.4821, allocations: 0.6481 MB / 0.5588 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.4824, allocations: 115.1 kB / 0.5589 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.4837, allocations: 0.7102 MB / 0.5596 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4837, allocations: 9.5 kB / 0.5596 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4837, allocations: 1.375 kB / 0.5596 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4837, allocations: 6.047 kB / 0.5596 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/0.4878, allocations: 2.236 MB / 0.5618 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.4878, allocations: 3.75 kB / 0.5618 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.4882, allocations: 99.06 kB / 0.5619 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/0.4884, allocations: 67.39 kB / 0.562 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.4884, allocations: 16 kB / 0.562 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.4897, allocations: 1.747 MB / 0.5637 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.4897, allocations: 7.656 kB / 0.5637 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007054/0.4968, allocations: 6.242 MB / 0.5698 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.4972, allocations: 221.1 kB / 0.57 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.4973, allocations: 18.8 kB / 0.57 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.4977, allocations: 35.8 kB / 0.5701 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.4978, allocations: 47.52 kB / 0.5701 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.4978, allocations: 16.28 kB / 0.5701 GB, free: 3.539 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009431/0.4988, allocations: 0.7704 MB / 0.5709 GB, free: 3.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4988, allocations: 1.812 kB / 0.5709 GB, free: 3.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001861/0.5007, allocations: 395.7 kB / 0.5713 GB, free: 3.074 MB / 394.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.0002339/0.5009, allocations: 134.9 kB / 0.5714 GB, free: 2.961 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.5027, allocations: 1.104 MB / 0.5725 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5027, allocations: 0 / 0.5725 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.5032, allocations: 397.6 kB / 0.5728 GB, free: 2.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5043, allocations: 180.6 kB / 0.573 GB, free: 2.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.5101, allocations: 4.052 MB / 0.577 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.5117, allocations: 1.483 MB / 0.5784 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00115/0.5129, allocations: 417.7 kB / 0.5788 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.5131, allocations: 79.44 kB / 0.5789 GB, free: 13.14 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5131, allocations: 0 / 0.5789 GB, free: 13.14 MB / 410.7 MB Notification: Performance of Templates: time 0.02468/0.5378, allocations: 11.38 MB / 0.59 GB, free: 1.844 MB / 410.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@2/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