Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 183.9 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.693/1.693, 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.0008418/0.0008416, allocations: 102.8 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.232/0.232, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 11.98 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.6097, allocations: 104.8 MB / 0.5811 GB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.6101, allocations: 80.38 kB / 0.5812 GB, free: 11.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2592/0.8693, allocations: 86.7 MB / 0.6659 GB, free: 12.32 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.8694, allocations: 0 / 0.6659 GB, free: 12.32 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001933/0.8696, allocations: 80 kB / 0.666 GB, free: 12.25 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01239/0.882, allocations: 4.231 MB / 0.6701 GB, free: 7.945 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.882, allocations: 12.03 kB / 0.6701 GB, free: 7.934 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.8936, allocations: 2.447 MB / 0.6725 GB, free: 5.477 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/0.907, allocations: 5.192 MB / 0.6776 GB, free: 224 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/0.9074, allocations: 336.6 kB / 0.6779 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/0.9094, allocations: 435.8 kB / 0.6783 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02192/0.9313, allocations: 10.75 MB / 0.6888 GB, free: 3.566 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001762/0.9316, allocations: 59.5 kB / 0.6889 GB, free: 3.508 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007754/0.9323, allocations: 219.8 kB / 0.6891 GB, free: 3.293 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001437/0.9338, allocations: 1.041 MB / 0.6901 GB, free: 2.242 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.9522, allocations: 8.441 MB / 0.6983 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2965/1.249, allocations: 48.08 MB / 0.7453 GB, free: 84.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008244/1.257, allocations: 3.244 MB / 0.7484 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009615/1.267, allocations: 6.001 MB / 0.7543 GB, free: 81.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/1.267, allocations: 51.05 kB / 0.7544 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=148): time 4.809e-06/1.267, allocations: 1.281 kB / 0.7544 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.02199/1.289, allocations: 9.778 MB / 0.7639 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/1.289, allocations: 206.4 kB / 0.7641 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006199/1.295, allocations: 3.667 MB / 0.7677 GB, free: 77.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002574/1.295, allocations: 49.3 kB / 0.7677 GB, free: 77.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00195/1.297, allocations: 3.185 MB / 0.7708 GB, free: 75.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/1.298, allocations: 0.6386 MB / 0.7715 GB, free: 75.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/1.298, allocations: 117.5 kB / 0.7716 GB, free: 75.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002575/1.298, allocations: 0.5582 MB / 0.7721 GB, free: 74.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/1.301, allocations: 1.658 MB / 0.7737 GB, free: 74.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004311/1.305, allocations: 5.473 MB / 0.7791 GB, free: 69.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004198/1.309, allocations: 2.958 MB / 0.782 GB, free: 69.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-05/1.309, allocations: 39.22 kB / 0.782 GB, free: 69.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01154/1.321, allocations: 6.894 MB / 0.7887 GB, free: 68.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.448e-05/1.321, allocations: 64.56 kB / 0.7888 GB, free: 68.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/1.321, allocations: 136.2 kB / 0.7889 GB, free: 68.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/1.321, allocations: 201.2 kB / 0.7891 GB, free: 68.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/1.326, allocations: 1.442 MB / 0.7905 GB, free: 68.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001633/1.326, allocations: 270.2 kB / 0.7908 GB, free: 68.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004735/1.331, allocations: 378.3 kB / 0.7912 GB, free: 68.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008071/1.331, allocations: 372.4 kB / 0.7915 GB, free: 68.26 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 760 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003859/1.335, allocations: 2.041 MB / 0.7935 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007908/1.336, allocations: 357 kB / 0.7938 GB, free: 67.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/1.338, allocations: 1.337 MB / 0.7952 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/1.338, allocations: 19.55 kB / 0.7952 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.338, allocations: 0 / 0.7952 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.338, allocations: 10.92 kB / 0.7952 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/1.349, allocations: 5.864 MB / 0.8009 GB, free: 63.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/1.349, allocations: 18.41 kB / 0.8009 GB, free: 63.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009257/1.35, allocations: 274.4 kB / 0.8012 GB, free: 63.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/1.35, allocations: 31.72 kB / 0.8012 GB, free: 63.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/1.35, allocations: 54.12 kB / 0.8013 GB, free: 63.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.246e-05/1.35, allocations: 39.62 kB / 0.8013 GB, free: 63.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.384e-05/1.35, allocations: 26.72 kB / 0.8013 GB, free: 63.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/1.354, allocations: 5.339 MB / 0.8065 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.356, allocations: 0.534 MB / 0.8071 GB, free: 58.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/1.356, allocations: 50.86 kB / 0.8071 GB, free: 58.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.357, allocations: 99.45 kB / 0.8072 GB, free: 58.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.357, allocations: 147.9 kB / 0.8073 GB, free: 58.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-05/1.358, allocations: 65.77 kB / 0.8074 GB, free: 58.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004035/1.362, allocations: 2.564 MB / 0.8099 GB, free: 57.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/1.362, allocations: 0 / 0.8099 GB, free: 57.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006098/1.368, allocations: 0.919 MB / 0.8108 GB, free: 57.76 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (146): * Single equations (assignments): 143 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005238/1.368, allocations: 207.8 kB / 0.811 GB, free: 57.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006181/1.374, allocations: 3.764 MB / 0.8147 GB, free: 56.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.374, allocations: 4.688 kB / 0.8147 GB, free: 56.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008689/1.375, allocations: 0.747 MB / 0.8154 GB, free: 56.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.378, allocations: 440.2 kB / 0.8158 GB, free: 55.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/1.394, allocations: 10.42 MB / 0.826 GB, free: 50.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003352/1.397, allocations: 3.27 MB / 0.8292 GB, free: 47.67 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004785/1.402, allocations: 1.825 MB / 0.831 GB, free: 46.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/1.403, allocations: 234.7 kB / 0.8312 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of SimCode: time 3.016e-06/1.403, allocations: 0 / 0.8312 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.05123/1.454, allocations: 27.19 MB / 0.8578 GB, free: 27.41 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches