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.001311/0.001311, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009366/0.0009366, allocations: 92.8 kB / 281.6 MB, free: 5.328 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.211/0.211, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.309e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4314/0.5686, allocations: 105.7 MB / 0.5979 GB, free: 6.793 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5689, allocations: 79.95 kB / 0.598 GB, free: 6.715 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09282/0.6618, allocations: 34.29 MB / 0.6315 GB, free: 4.277 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6618, allocations: 0 / 0.6315 GB, free: 4.277 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.46e-05/0.6619, allocations: 28 kB / 0.6315 GB, free: 4.25 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.003594/0.6655, allocations: 1.694 MB / 0.6332 GB, free: 2.504 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.6655, allocations: 15.98 kB / 0.6332 GB, free: 2.488 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.6674, allocations: 405.4 kB / 0.6336 GB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00693/0.6743, allocations: 2.787 MB / 0.6363 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.6744, allocations: 51.95 kB / 0.6363 GB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.6746, allocations: 84 kB / 0.6364 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002731/0.6774, allocations: 1.795 MB / 0.6382 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.6806, allocations: 2.531 MB / 0.6406 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-05/0.6807, allocations: 15.83 kB / 0.6406 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.6808, allocations: 12 kB / 0.6407 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004862/0.6813, allocations: 282.1 kB / 0.6409 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/0.6956, allocations: 11.97 MB / 0.6526 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.6963, allocations: 0.5349 MB / 0.6531 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/0.6968, allocations: 328.3 kB / 0.6535 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006239/0.6974, allocations: 0.655 MB / 0.6541 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.6974, allocations: 39 kB / 0.6541 GB, free: 12.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 2.495e-06/0.6975, allocations: 3.938 kB / 0.6541 GB, free: 12.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=59): time 0.007624/0.7051, allocations: 3.014 MB / 0.6571 GB, free: 9.039 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.7052, allocations: 115.4 kB / 0.6572 GB, free: 8.902 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.7064, allocations: 0.9304 MB / 0.6581 GB, free: 7.957 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.7064, allocations: 25.7 kB / 0.6581 GB, free: 7.926 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00056/0.707, allocations: 0.9432 MB / 0.659 GB, free: 6.965 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.7072, allocations: 220.9 kB / 0.6593 GB, free: 6.746 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.7072, allocations: 0 / 0.6593 GB, free: 6.746 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.7074, allocations: 426.7 kB / 0.6597 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.7079, allocations: 363.9 kB / 0.66 GB, free: 5.965 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009736/0.7089, allocations: 1.197 MB / 0.6612 GB, free: 4.348 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/0.7097, allocations: 0.6289 MB / 0.6618 GB, free: 3.723 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.7097, allocations: 16 kB / 0.6618 GB, free: 3.707 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002231/0.7119, allocations: 1.461 MB / 0.6632 GB, free: 2.234 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.712, allocations: 16 kB / 0.6632 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/0.712, allocations: 28 kB / 0.6633 GB, free: 2.191 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.7123, allocations: 92.83 kB / 0.6634 GB, free: 2.098 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.7134, allocations: 371.9 kB / 0.6637 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.7148, allocations: 1.623 MB / 0.6653 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/0.7157, allocations: 39.92 kB / 0.6653 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.7158, allocations: 84 kB / 0.6654 GB, free: 15.87 MB / 490.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.0002405/0.7161, allocations: 191.4 kB / 0.6656 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.7162, allocations: 114.5 kB / 0.6657 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.7174, allocations: 0.6597 MB / 0.6664 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.7174, allocations: 12.12 kB / 0.6664 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7174, allocations: 4 kB / 0.6664 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.7174, allocations: 3.984 kB / 0.6664 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.7206, allocations: 1.951 MB / 0.6683 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.7206, allocations: 4 kB / 0.6683 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.721, allocations: 103.8 kB / 0.6684 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/0.7212, allocations: 64.81 kB / 0.6684 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.7213, allocations: 4 kB / 0.6684 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.7227, allocations: 1.67 MB / 0.6701 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.7227, allocations: 12 kB / 0.6701 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.7242, allocations: 1.243 MB / 0.6713 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.7245, allocations: 187.7 kB / 0.6715 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.7246, allocations: 7.984 kB / 0.6715 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.7249, allocations: 15.98 kB / 0.6715 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.725, allocations: 43.84 kB / 0.6715 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.7251, allocations: 24 kB / 0.6716 GB, free: 9.141 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000891/0.7259, allocations: 0.6446 MB / 0.6722 GB, free: 8.488 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.726, allocations: 4 kB / 0.6722 GB, free: 8.484 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001432/0.7274, allocations: 264 kB / 0.6725 GB, free: 8.227 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 53 * 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.0002541/0.7277, allocations: 127.1 kB / 0.6726 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.729, allocations: 0.9665 MB / 0.6735 GB, free: 7.113 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7291, allocations: 0 / 0.6735 GB, free: 7.113 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.7295, allocations: 379.3 kB / 0.6739 GB, free: 6.734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.7302, allocations: 146.1 kB / 0.674 GB, free: 6.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.7339, allocations: 2.158 MB / 0.6761 GB, free: 4.348 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.7352, allocations: 1.485 MB / 0.6776 GB, free: 2.832 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001071/0.7363, allocations: 409.4 kB / 0.678 GB, free: 2.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.7364, allocations: 79.44 kB / 0.678 GB, free: 2.352 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/0.7364, allocations: 0 / 0.678 GB, free: 2.352 MB / 490.7 MB Notification: Performance of Templates: time 0.01714/0.7536, allocations: 8.477 MB / 0.6863 GB, free: 9.926 MB / 0.4948 GB 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/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