Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001839, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009953/0.0009953, allocations: 106 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4813/0.4813, allocations: 44.13 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 43.92 kB / 457.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3443, allocations: 60.81 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01924/0.3636, allocations: 26.14 MB / 0.5319 GB, free: 19.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.3768, allocations: 6.377 MB / 0.5381 GB, free: 15.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004978/0.3818, allocations: 106.4 kB / 0.5382 GB, free: 15.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.3843, allocations: 1.37 MB / 0.5396 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.3868, allocations: 0.847 MB / 0.5404 GB, free: 14.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008963/0.3878, allocations: 487.2 kB / 0.5409 GB, free: 14.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.3899, allocations: 2.309 MB / 0.5431 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.3914, allocations: 1.637 MB / 0.5447 GB, free: 12.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006743/0.3921, allocations: 0.6061 MB / 0.5453 GB, free: 12.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009456/0.3931, allocations: 0.9384 MB / 0.5462 GB, free: 12.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.3932, allocations: 102.3 kB / 0.5463 GB, free: 12.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.3944, allocations: 0.6068 MB / 0.5469 GB, free: 12.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005913/0.395, allocations: 0.7018 MB / 0.5476 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006951/0.3957, allocations: 0.8005 MB / 0.5484 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.3978, allocations: 2.412 MB / 0.5507 GB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3979, allocations: 1.219 kB / 0.5507 GB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3979, allocations: 3.938 kB / 0.5507 GB, free: 10.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.639e-05/0.3979, allocations: 0 / 0.5507 GB, free: 10.48 MB / 378.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.003439/0.4014, allocations: 2.007 MB / 0.5527 GB, free: 9.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4014, allocations: 9.531 kB / 0.5527 GB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.4025, allocations: 265.8 kB / 0.553 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.4046, allocations: 1.061 MB / 0.554 GB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-05/0.4047, allocations: 99.77 kB / 0.5541 GB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.4049, allocations: 126 kB / 0.5542 GB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005818/0.4108, allocations: 2.988 MB / 0.5571 GB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.737e-05/0.4108, allocations: 14.92 kB / 0.5572 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.411, allocations: 58.91 kB / 0.5572 GB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007141/0.4117, allocations: 436 kB / 0.5576 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005615/0.4173, allocations: 2.164 MB / 0.5597 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.4315, allocations: 10.73 MB / 0.5702 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/0.4353, allocations: 1.231 MB / 0.5714 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.4359, allocations: 413.8 kB / 0.5718 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004028/0.44, allocations: 3.006 MB / 0.5747 GB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.44, allocations: 39 kB / 0.5748 GB, free: 9.148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.835e-06/0.44, allocations: 0 / 0.5748 GB, free: 9.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.0113/0.4514, allocations: 3.744 MB / 0.5784 GB, free: 5.289 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.4515, allocations: 89.61 kB / 0.5785 GB, free: 5.184 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.453, allocations: 1.186 MB / 0.5797 GB, free: 3.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.4531, allocations: 41.7 kB / 0.5797 GB, free: 3.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006272/0.4537, allocations: 0.9395 MB / 0.5806 GB, free: 2.984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.4539, allocations: 217.1 kB / 0.5809 GB, free: 2.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003607/0.4543, allocations: 315.1 kB / 0.5812 GB, free: 2.453 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.4544, allocations: 305.1 kB / 0.5814 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005911/0.455, allocations: 419.7 kB / 0.5818 GB, free: 1.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.4561, allocations: 1.258 MB / 0.5831 GB, free: 72 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.4581, allocations: 1.81 MB / 0.5848 GB, free: 13.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.4581, allocations: 8 kB / 0.5848 GB, free: 13.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002583/0.4607, allocations: 1.73 MB / 0.5865 GB, free: 12.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.4607, allocations: 16 kB / 0.5866 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.4608, allocations: 28 kB / 0.5866 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.461, allocations: 92.77 kB / 0.5867 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/0.462, allocations: 355.4 kB / 0.587 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.4635, allocations: 1.694 MB / 0.5887 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009062/0.4644, allocations: 72.05 kB / 0.5887 GB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.4645, allocations: 88 kB / 0.5888 GB, free: 9.629 MB / 410.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.0009438/0.4655, allocations: 0.6372 MB / 0.5894 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.4656, allocations: 118.5 kB / 0.5895 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.4668, allocations: 0.7146 MB / 0.5902 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.4668, allocations: 8.078 kB / 0.5903 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4668, allocations: 7.938 kB / 0.5903 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.4668, allocations: 3.984 kB / 0.5903 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/0.4703, allocations: 2.235 MB / 0.5924 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.4703, allocations: 4.5 kB / 0.5925 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.4707, allocations: 99.89 kB / 0.5925 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001918/0.4709, allocations: 68.75 kB / 0.5926 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.4709, allocations: 8 kB / 0.5926 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.4725, allocations: 1.753 MB / 0.5943 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.4726, allocations: 7.938 kB / 0.5943 GB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007906/0.4805, allocations: 6.212 MB / 0.6004 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.4808, allocations: 179.7 kB / 0.6006 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.4809, allocations: 20 kB / 0.6006 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.4813, allocations: 31.91 kB / 0.6006 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.4814, allocations: 43.89 kB / 0.6007 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.4814, allocations: 20 kB / 0.6007 GB, free: 12.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.4825, allocations: 0.7596 MB / 0.6014 GB, free: 12.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4825, allocations: 4 kB / 0.6014 GB, free: 12.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001745/0.4843, allocations: 396 kB / 0.6018 GB, free: 11.68 MB / 426.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.0002508/0.4845, allocations: 127.1 kB / 0.6019 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.4863, allocations: 1.101 MB / 0.603 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.4863, allocations: 4 kB / 0.603 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.4869, allocations: 399.9 kB / 0.6034 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.4879, allocations: 182.2 kB / 0.6036 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00556/0.4935, allocations: 4.028 MB / 0.6075 GB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.4948, allocations: 1.48 MB / 0.6089 GB, free: 4.207 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001108/0.4959, allocations: 417.7 kB / 0.6093 GB, free: 3.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.496, allocations: 79.42 kB / 0.6094 GB, free: 3.719 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4961, allocations: 0 / 0.6094 GB, free: 3.719 MB / 426.7 MB Notification: Performance of Templates: time 0.02208/0.5181, allocations: 11.31 MB / 0.6205 GB, free: 8.473 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches