Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007781/0.0007782, allocations: 94.8 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000826/0.0008259, allocations: 176.8 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1998/0.1998, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 12.69 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3635/0.5016, allocations: 84.29 MB / 0.5435 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04563/0.5473, allocations: 16.47 MB / 0.5596 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01971/0.5671, allocations: 361.8 kB / 0.5599 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003103/0.5702, allocations: 0.6533 MB / 0.5606 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00866/0.5789, allocations: 2.427 MB / 0.5629 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.5822, allocations: 1.082 MB / 0.564 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01271/0.5949, allocations: 9.717 MB / 0.5735 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01577/0.6108, allocations: 9.337 MB / 0.5826 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004763/0.6156, allocations: 1.875 MB / 0.5844 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006278/0.6219, allocations: 3.375 MB / 0.5877 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001872/0.6238, allocations: 252 kB / 0.588 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.6274, allocations: 1.022 MB / 0.589 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004866/0.6323, allocations: 2.937 MB / 0.5918 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006951/0.6392, allocations: 3.324 MB / 0.5951 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.6528, allocations: 10.61 MB / 0.6054 GB, free: 11.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6529, allocations: 0 / 0.6054 GB, free: 11.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6529, allocations: 0 / 0.6054 GB, free: 11.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004589/0.6533, allocations: 0 / 0.6054 GB, free: 11.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01652/0.6699, allocations: 6.308 MB / 0.6116 GB, free: 5.473 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6699, allocations: 8.031 kB / 0.6116 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.6812, allocations: 2.713 MB / 0.6143 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007725/0.6889, allocations: 3.666 MB / 0.6178 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004611/0.6894, allocations: 443.6 kB / 0.6183 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002444/0.6919, allocations: 0.5621 MB / 0.6188 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0425/0.7344, allocations: 20.33 MB / 0.6387 GB, free: 8.531 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002096/0.7346, allocations: 71.33 kB / 0.6387 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008474/0.7355, allocations: 271.8 kB / 0.639 GB, free: 8.195 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005036/0.7405, allocations: 3.337 MB / 0.6422 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03858/0.7791, allocations: 16.35 MB / 0.6582 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5836/1.363, allocations: 65.32 MB / 0.722 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/1.381, allocations: 6.31 MB / 0.7282 GB, free: 145 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/1.384, allocations: 2.06 MB / 0.7302 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01328/1.397, allocations: 9.138 MB / 0.7391 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/1.397, allocations: 60.12 kB / 0.7392 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 5.269e-06/1.397, allocations: 0 / 0.7392 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.05224/1.449, allocations: 21.37 MB / 0.76 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/1.449, allocations: 163.3 kB / 0.7602 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006655/1.456, allocations: 5.843 MB / 0.7659 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004014/1.457, allocations: 68.38 kB / 0.766 GB, free: 126 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001964/1.458, allocations: 4.955 MB / 0.7708 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008799/1.459, allocations: 1.118 MB / 0.7719 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006989/1.46, allocations: 0.7883 MB / 0.7727 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.647e-05/1.46, allocations: 303.2 kB / 0.7729 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003314/1.463, allocations: 2.628 MB / 0.7755 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005088/1.469, allocations: 8.241 MB / 0.7836 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.479, allocations: 11.82 MB / 0.7951 GB, free: 91.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001808/1.479, allocations: 60 kB / 0.7952 GB, free: 91.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.01663/1.496, allocations: 10.57 MB / 0.8055 GB, free: 80.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.496, allocations: 92 kB / 0.8056 GB, free: 80.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000193/1.496, allocations: 203.9 kB / 0.8058 GB, free: 80.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/1.496, allocations: 267.9 kB / 0.806 GB, free: 79.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006723/1.503, allocations: 2.215 MB / 0.8082 GB, free: 77.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003255/1.503, allocations: 394.5 kB / 0.8086 GB, free: 77.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006204/1.51, allocations: 453.5 kB / 0.809 GB, free: 76.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.511, allocations: 0.5469 MB / 0.8095 GB, free: 76.32 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1192): * Single equations (assignments): 1189 * 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.005551/1.517, allocations: 3.233 MB / 0.8127 GB, free: 73.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009981/1.518, allocations: 0.5128 MB / 0.8132 GB, free: 72.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005043/1.523, allocations: 2.968 MB / 0.8161 GB, free: 69.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/1.523, allocations: 33.8 kB / 0.8161 GB, free: 69.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.523, allocations: 0 / 0.8161 GB, free: 69.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/1.523, allocations: 19.94 kB / 0.8161 GB, free: 69.51 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01914/1.542, allocations: 12.47 MB / 0.8283 GB, free: 56.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/1.542, allocations: 32 kB / 0.8283 GB, free: 56.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.544, allocations: 0.5348 MB / 0.8289 GB, free: 56.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-05/1.544, allocations: 48 kB / 0.8289 GB, free: 55.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.544, allocations: 91.98 kB / 0.829 GB, free: 55.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.854e-05/1.544, allocations: 71.66 kB / 0.8291 GB, free: 55.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.828e-05/1.544, allocations: 47.81 kB / 0.8291 GB, free: 55.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/1.549, allocations: 5.546 MB / 0.8345 GB, free: 49.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.55, allocations: 0.5956 MB / 0.8351 GB, free: 49.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006964/1.551, allocations: 87.97 kB / 0.8352 GB, free: 48.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/1.553, allocations: 143.9 kB / 0.8353 GB, free: 48.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/1.553, allocations: 279.9 kB / 0.8356 GB, free: 48.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.553, allocations: 118.1 kB / 0.8357 GB, free: 48.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004491/1.558, allocations: 3.63 MB / 0.8392 GB, free: 44.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/1.558, allocations: 0 / 0.8392 GB, free: 44.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006579/1.564, allocations: 1.463 MB / 0.8407 GB, free: 43.35 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.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 (275): * Single equations (assignments): 272 * 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 Backend phase and start with SimCode phase: time 0.0004964/1.565, allocations: 267.9 kB / 0.8409 GB, free: 43.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008223/1.573, allocations: 5.972 MB / 0.8468 GB, free: 37.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/1.573, allocations: 4 kB / 0.8468 GB, free: 37.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/1.575, allocations: 1.347 MB / 0.8481 GB, free: 35.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02827/1.603, allocations: 0.768 MB / 0.8488 GB, free: 35.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/1.629, allocations: 18.27 MB / 0.8667 GB, free: 16.31 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00945/1.639, allocations: 4.89 MB / 0.8715 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007335/1.646, allocations: 2.607 MB / 0.874 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/1.647, allocations: 391.3 kB / 0.8744 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of SimCode: time 2.285e-06/1.647, allocations: 0 / 0.8744 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of Templates: time 0.08904/1.736, allocations: 45.46 MB / 0.9188 GB, free: 11.18 MB / 0.5763 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches