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.001453/0.001453, allocations: 184.3 kB / 15.76 MB, free: 6.363 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.791/1.791, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008532/0.0008534, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.229/0.229, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4509/0.5962, allocations: 104.7 MB / 0.581 GB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.5965, allocations: 80.33 kB / 0.581 GB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09194/0.6885, allocations: 34.71 MB / 0.6149 GB, free: 13.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6885, allocations: 0 / 0.6149 GB, free: 13.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.545e-05/0.6886, allocations: 32 kB / 0.615 GB, free: 13.02 MB / 426.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.003618/0.6922, allocations: 1.846 MB / 0.6168 GB, free: 11.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.6923, allocations: 8.031 kB / 0.6168 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.6941, allocations: 409.7 kB / 0.6172 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00745/0.7015, allocations: 2.953 MB / 0.6201 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/0.7016, allocations: 108.6 kB / 0.6202 GB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.7019, allocations: 151.6 kB / 0.6203 GB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00545/0.7073, allocations: 3.04 MB / 0.6233 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.815e-05/0.7074, allocations: 15.88 kB / 0.6233 GB, free: 5.633 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.7075, allocations: 62.42 kB / 0.6234 GB, free: 5.613 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004339/0.708, allocations: 287.5 kB / 0.6236 GB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004381/0.7124, allocations: 2.215 MB / 0.6258 GB, free: 3.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.7251, allocations: 11.6 MB / 0.6371 GB, free: 9.594 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003554/0.7287, allocations: 1.2 MB / 0.6383 GB, free: 8.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004118/0.7328, allocations: 3.024 MB / 0.6412 GB, free: 5.094 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.7329, allocations: 42.98 kB / 0.6413 GB, free: 5.043 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 3.246e-06/0.7329, allocations: 0 / 0.6413 GB, free: 5.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.01136/0.7443, allocations: 3.773 MB / 0.645 GB, free: 1.164 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.7444, allocations: 85.67 kB / 0.6451 GB, free: 1.062 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.746, allocations: 1.079 MB / 0.6461 GB, free: 15.97 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.7461, allocations: 33.7 kB / 0.6461 GB, free: 15.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007314/0.7468, allocations: 0.9511 MB / 0.6471 GB, free: 14.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.747, allocations: 217.1 kB / 0.6473 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.7471, allocations: 32 kB / 0.6473 GB, free: 14.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.7473, allocations: 369.9 kB / 0.6477 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006469/0.7479, allocations: 411.7 kB / 0.6481 GB, free: 13.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.7492, allocations: 1.244 MB / 0.6493 GB, free: 12.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000915/0.7501, allocations: 0.6721 MB / 0.6499 GB, free: 11.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.7501, allocations: 8 kB / 0.6499 GB, free: 11.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002646/0.7528, allocations: 1.702 MB / 0.6516 GB, free: 9.898 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.7528, allocations: 24.44 kB / 0.6516 GB, free: 9.879 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.141e-05/0.7529, allocations: 31.95 kB / 0.6516 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000255/0.7531, allocations: 100.8 kB / 0.6517 GB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.7542, allocations: 355.3 kB / 0.6521 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.7558, allocations: 1.717 MB / 0.6538 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7569, allocations: 67.98 kB / 0.6538 GB, free: 7.473 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.757, allocations: 87.94 kB / 0.6539 GB, free: 7.387 MB / 458.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 () * Number of clocked 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.001101/0.7581, allocations: 0.6517 MB / 0.6545 GB, free: 6.723 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.7583, allocations: 118.5 kB / 0.6547 GB, free: 6.605 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.7595, allocations: 0.7029 MB / 0.6553 GB, free: 5.891 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.7595, allocations: 11.95 kB / 0.6554 GB, free: 5.879 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7595, allocations: 0 / 0.6554 GB, free: 5.879 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.7596, allocations: 4 kB / 0.6554 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/0.7632, allocations: 2.258 MB / 0.6576 GB, free: 3.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.7633, allocations: 4 kB / 0.6576 GB, free: 3.496 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.7637, allocations: 99.88 kB / 0.6577 GB, free: 3.398 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/0.7638, allocations: 69.3 kB / 0.6577 GB, free: 3.328 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.7639, allocations: 23.98 kB / 0.6578 GB, free: 3.305 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.7655, allocations: 1.765 MB / 0.6595 GB, free: 1.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.7655, allocations: 4 kB / 0.6595 GB, free: 1.406 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.7672, allocations: 1.309 MB / 0.6608 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.7676, allocations: 223.6 kB / 0.661 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-05/0.7677, allocations: 19.98 kB / 0.661 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.7681, allocations: 23.98 kB / 0.661 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.7681, allocations: 43.84 kB / 0.6611 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.7682, allocations: 24 kB / 0.6611 GB, free: 15.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.7693, allocations: 0.7719 MB / 0.6618 GB, free: 14.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7693, allocations: 0 / 0.6618 GB, free: 14.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001396/0.7707, allocations: 315.9 kB / 0.6621 GB, free: 14.52 MB / 474.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 (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.000244/0.771, allocations: 131.1 kB / 0.6623 GB, free: 14.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.7727, allocations: 1.081 MB / 0.6633 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7727, allocations: 0 / 0.6633 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.7732, allocations: 416.7 kB / 0.6637 GB, free: 12.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007473/0.774, allocations: 164.5 kB / 0.6639 GB, free: 12.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.7787, allocations: 3.385 MB / 0.6672 GB, free: 9.246 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.78, allocations: 1.486 MB / 0.6686 GB, free: 7.727 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001095/0.7811, allocations: 417.8 kB / 0.669 GB, free: 7.316 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.7813, allocations: 75.44 kB / 0.6691 GB, free: 7.246 MB / 474.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7813, allocations: 0 / 0.6691 GB, free: 7.246 MB / 474.7 MB Notification: Performance of Templates: time 0.0193/0.8006, allocations: 9.786 MB / 0.6786 GB, free: 13.47 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