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.0008758/0.0008759, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.28/1.28, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0007866/0.0007866, allocations: 94.53 kB / 267.1 MB, free: 9.273 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.3125/0.3125, allocations: 43.46 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.423e-05, allocations: 7.984 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.09887, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3321/0.431, allocations: 104.6 MB / 0.5749 GB, free: 440 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4313, allocations: 85.67 kB / 0.575 GB, free: 356 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08473/0.516, allocations: 34.68 MB / 0.6089 GB, free: 13.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5161, allocations: 0 / 0.6089 GB, free: 13.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.652e-05/0.5161, allocations: 35.98 kB / 0.6089 GB, free: 13.55 MB / 442.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.002705/0.5188, allocations: 1.692 MB / 0.6106 GB, free: 11.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5189, allocations: 8.031 kB / 0.6106 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.5206, allocations: 409.4 kB / 0.611 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006111/0.5267, allocations: 2.939 MB / 0.6138 GB, free: 8.422 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.81e-05/0.5268, allocations: 114.9 kB / 0.6139 GB, free: 8.309 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.527, allocations: 148 kB / 0.6141 GB, free: 8.164 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.5319, allocations: 3.016 MB / 0.617 GB, free: 4.922 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.532, allocations: 17.16 kB / 0.617 GB, free: 4.906 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.5321, allocations: 67.98 kB / 0.6171 GB, free: 4.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003999/0.5325, allocations: 274.2 kB / 0.6174 GB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004049/0.5366, allocations: 2.191 MB / 0.6195 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.5476, allocations: 11.59 MB / 0.6308 GB, free: 6.465 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.5511, allocations: 1.196 MB / 0.632 GB, free: 5.254 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.5516, allocations: 387.6 kB / 0.6324 GB, free: 4.875 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003347/0.555, allocations: 3.028 MB / 0.6353 GB, free: 1.594 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.555, allocations: 42.98 kB / 0.6354 GB, free: 1.543 MB / 458.7 MB Notification: Performance of pre-optimization done (n=51): time 2.334e-06/0.555, allocations: 0 / 0.6354 GB, free: 1.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=57): time 0.00997/0.565, allocations: 3.389 MB / 0.6387 GB, free: 14.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.5651, allocations: 81.67 kB / 0.6388 GB, free: 13.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.5664, allocations: 1.065 MB / 0.6398 GB, free: 12.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.5665, allocations: 33.7 kB / 0.6398 GB, free: 12.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/0.567, allocations: 0.955 MB / 0.6408 GB, free: 11.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.5672, allocations: 221 kB / 0.641 GB, free: 11.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.5672, allocations: 32 kB / 0.641 GB, free: 11.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5674, allocations: 369.9 kB / 0.6414 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.5679, allocations: 391.9 kB / 0.6417 GB, free: 10.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009025/0.5688, allocations: 1.229 MB / 0.6429 GB, free: 9.227 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007769/0.5696, allocations: 0.6767 MB / 0.6436 GB, free: 8.551 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.5696, allocations: 8 kB / 0.6436 GB, free: 8.543 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002166/0.5718, allocations: 1.68 MB / 0.6452 GB, free: 6.855 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.5718, allocations: 23.95 kB / 0.6453 GB, free: 6.832 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.842e-05/0.5719, allocations: 28 kB / 0.6453 GB, free: 6.805 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001998/0.5721, allocations: 92.77 kB / 0.6454 GB, free: 6.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009999/0.5731, allocations: 359.3 kB / 0.6457 GB, free: 6.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.5745, allocations: 1.698 MB / 0.6474 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007717/0.5753, allocations: 67.98 kB / 0.6474 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5754, allocations: 96.05 kB / 0.6475 GB, free: 4.363 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002094/0.5756, allocations: 235.2 kB / 0.6478 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.5757, allocations: 114.5 kB / 0.6479 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.5768, allocations: 0.6952 MB / 0.6485 GB, free: 3.309 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5768, allocations: 7.953 kB / 0.6486 GB, free: 3.301 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.5768, allocations: 0 / 0.6486 GB, free: 3.301 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5769, allocations: 7.984 kB / 0.6486 GB, free: 3.293 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.58, allocations: 2.246 MB / 0.6508 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.58, allocations: 4 kB / 0.6508 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.5804, allocations: 99.81 kB / 0.6509 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001704/0.5805, allocations: 65.33 kB / 0.6509 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.5806, allocations: 16 kB / 0.6509 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.582, allocations: 1.741 MB / 0.6526 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.582, allocations: 8.094 kB / 0.6526 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.5833, allocations: 1.293 MB / 0.6539 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.5836, allocations: 219.6 kB / 0.6541 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.18e-05/0.5837, allocations: 19.98 kB / 0.6541 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.5841, allocations: 23.98 kB / 0.6542 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.5841, allocations: 51.91 kB / 0.6542 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.5842, allocations: 20 kB / 0.6542 GB, free: 13.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000875/0.5851, allocations: 0.7617 MB / 0.655 GB, free: 12.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5851, allocations: 0 / 0.655 GB, free: 12.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001191/0.5863, allocations: 311.9 kB / 0.6553 GB, free: 12 MB / 490.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002221/0.5865, allocations: 136.3 kB / 0.6554 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.5879, allocations: 1.061 MB / 0.6564 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5879, allocations: 0 / 0.6564 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.5883, allocations: 404.8 kB / 0.6568 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007179/0.5891, allocations: 169.7 kB / 0.657 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.5922, allocations: 2.194 MB / 0.6591 GB, free: 7.938 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.5933, allocations: 1.482 MB / 0.6606 GB, free: 6.422 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009349/0.5942, allocations: 417.8 kB / 0.661 GB, free: 6.012 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.5944, allocations: 79.38 kB / 0.661 GB, free: 5.934 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5944, allocations: 0 / 0.661 GB, free: 5.934 MB / 490.7 MB Notification: Performance of Templates: time 0.2266/0.821, allocations: 9.786 MB / 0.6706 GB, free: 114.4 MB / 490.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/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