Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2008/0.2008, allocations: 46.09 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2974, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01515/0.3126, allocations: 16.1 MB / 0.5474 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009049/0.3216, allocations: 4.983 MB / 0.5523 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.3231, allocations: 99.75 kB / 0.5524 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007776/0.3309, allocations: 5.163 MB / 0.5574 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.3359, allocations: 2.462 MB / 0.5598 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.3379, allocations: 1.182 MB / 0.561 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007145/0.3451, allocations: 6.659 MB / 0.5675 GB, free: 13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006035/0.3512, allocations: 6.334 MB / 0.5736 GB, free: 6.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003077/0.3542, allocations: 2.586 MB / 0.5762 GB, free: 4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004201/0.3585, allocations: 3.669 MB / 0.5797 GB, free: 328 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.3595, allocations: 0.5704 MB / 0.5803 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.3618, allocations: 1.268 MB / 0.5815 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002528/0.3643, allocations: 3.222 MB / 0.5847 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003408/0.3677, allocations: 3.663 MB / 0.5883 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.3787, allocations: 11.09 MB / 0.5991 GB, free: 12.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3788, allocations: 0 / 0.5991 GB, free: 12.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3788, allocations: 4 kB / 0.5991 GB, free: 12.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000283/0.3791, allocations: 0 / 0.5991 GB, free: 12.43 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01253/0.3916, allocations: 7.567 MB / 0.6065 GB, free: 4.789 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3917, allocations: 11.97 kB / 0.6065 GB, free: 4.777 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009447/0.4011, allocations: 2.593 MB / 0.609 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006924/0.4081, allocations: 3.584 MB / 0.6125 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/0.4085, allocations: 439.3 kB / 0.613 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.4099, allocations: 0.5542 MB / 0.6135 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.039/0.449, allocations: 19.75 MB / 0.6328 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002955/0.4493, allocations: 67.34 kB / 0.6328 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001655/0.451, allocations: 267.8 kB / 0.6331 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004729/0.4557, allocations: 3.153 MB / 0.6362 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03479/0.4905, allocations: 15.86 MB / 0.6517 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07788/0.5684, allocations: 63.73 MB / 0.7139 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2671/0.8355, allocations: 6.319 MB / 0.7201 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/0.8384, allocations: 2.089 MB / 0.7221 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/0.851, allocations: 9.192 MB / 0.7311 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.8511, allocations: 60.31 kB / 0.7311 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=257): time 5.531e-06/0.8511, allocations: 3.844 kB / 0.7311 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=291): time 0.04963/0.9008, allocations: 21.36 MB / 0.752 GB, free: 145 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.9008, allocations: 158.5 kB / 0.7522 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00555/0.9064, allocations: 5.759 MB / 0.7578 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003057/0.9067, allocations: 65.7 kB / 0.7578 GB, free: 139 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.9084, allocations: 4.825 MB / 0.7626 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006841/0.9091, allocations: 1.12 MB / 0.7637 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/0.9107, allocations: 1.824 MB / 0.7654 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.564e-05/0.9107, allocations: 301.1 kB / 0.7657 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00316/0.9139, allocations: 2.63 MB / 0.7683 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004586/0.9185, allocations: 8.2 MB / 0.7763 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009585/0.9281, allocations: 11.77 MB / 0.7878 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.348e-05/0.9282, allocations: 56 kB / 0.7878 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01283/0.941, allocations: 10.53 MB / 0.7981 GB, free: 92.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.9412, allocations: 91.98 kB / 0.7982 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/0.9414, allocations: 196 kB / 0.7984 GB, free: 92.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/0.9416, allocations: 267.9 kB / 0.7987 GB, free: 91.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005735/0.9473, allocations: 2.215 MB / 0.8008 GB, free: 89.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002348/0.9476, allocations: 386.5 kB / 0.8012 GB, free: 89.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/0.9526, allocations: 455.5 kB / 0.8016 GB, free: 88.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007645/0.9534, allocations: 0.5468 MB / 0.8022 GB, free: 88.17 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1183): * Single equations (assignments): 1180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004208/0.9576, allocations: 3.149 MB / 0.8052 GB, free: 85.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008889/0.9585, allocations: 0.509 MB / 0.8057 GB, free: 84.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004764/0.9632, allocations: 2.987 MB / 0.8086 GB, free: 81.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.9633, allocations: 19.88 kB / 0.8087 GB, free: 81.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.9633, allocations: 0 / 0.8087 GB, free: 81.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.9644, allocations: 0.5217 MB / 0.8092 GB, free: 80.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009506/0.9654, allocations: 48 kB / 0.8092 GB, free: 80.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/0.9674, allocations: 135.8 kB / 0.8094 GB, free: 80.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.9678, allocations: 153.7 kB / 0.8095 GB, free: 80.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005382/0.9731, allocations: 3.587 MB / 0.813 GB, free: 77.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006313/0.9795, allocations: 5.638 MB / 0.8185 GB, free: 71.34 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001611/0.9811, allocations: 1.452 MB / 0.8199 GB, free: 69.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00499/0.9861, allocations: 3.549 MB / 0.8234 GB, free: 66.37 MB / 0.5606 GB Notification: Performance of Backend: time 4.41e-07/0.9861, allocations: 0 / 0.8234 GB, free: 66.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009267/0.9954, allocations: 5.241 MB / 0.8285 GB, free: 61.19 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01967/1.015, allocations: 13.71 MB / 0.8419 GB, free: 47.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.0879/1.103, allocations: 55.64 MB / 0.8962 GB, free: 8.152 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches