Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_3.2.3_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.001165/0.001165, allocations: 102.7 kB / 15.98 MB, free: 6.336 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.001101/0.001101, allocations: 194 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 222.8 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2249/0.2249, allocations: 43.52 MB / 313.6 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 74.86 kB / 382.2 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1385, allocations: 57.79 MB / 440 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.08262/0.2212, allocations: 87.53 MB / 0.5152 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3748/0.5961, allocations: 16.63 MB / 0.5314 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02347/0.6196, allocations: 366.5 kB / 0.5318 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01108/0.6307, allocations: 5.054 MB / 0.5367 GB, free: 1.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.6413, allocations: 2.543 MB / 0.5392 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004004/0.6453, allocations: 1.114 MB / 0.5403 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01545/0.6608, allocations: 7.048 MB / 0.5472 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.6719, allocations: 6.908 MB / 0.5539 GB, free: 212 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009359/0.6813, allocations: 2.821 MB / 0.5567 GB, free: 212 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00979/0.6912, allocations: 4.382 MB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004598/0.6958, allocations: 0.6239 MB / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007176/0.703, allocations: 1.331 MB / 0.5628 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00916/0.7122, allocations: 3.558 MB / 0.5663 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01333/0.7256, allocations: 4.049 MB / 0.5703 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02277/0.7484, allocations: 11.87 MB / 0.5819 GB, free: 4.414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.7485, allocations: 4 kB / 0.5819 GB, free: 4.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.7485, allocations: 0 / 0.5819 GB, free: 4.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006445/0.7491, allocations: 0 / 0.5819 GB, free: 4.41 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02919/0.7783, allocations: 8.188 MB / 0.5899 GB, free: 12.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.668e-05/0.7784, allocations: 15.89 kB / 0.5899 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/0.7917, allocations: 2.716 MB / 0.5925 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/0.8023, allocations: 3.945 MB / 0.5964 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006244/0.803, allocations: 463.9 kB / 0.5968 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/0.8066, allocations: 0.5844 MB / 0.5974 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05195/0.8586, allocations: 21.22 MB / 0.6181 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003138/0.859, allocations: 68.34 kB / 0.6182 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001878/0.8609, allocations: 289.1 kB / 0.6185 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005904/0.8668, allocations: 3.539 MB / 0.6219 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04253/0.9093, allocations: 17.21 MB / 0.6387 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1017/1.011, allocations: 67.84 MB / 0.705 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01888/1.03, allocations: 6.682 MB / 0.7115 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004557/1.035, allocations: 2.29 MB / 0.7137 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02058/1.055, allocations: 9.779 MB / 0.7233 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/1.055, allocations: 64.56 kB / 0.7233 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=296): time 6.222e-06/1.055, allocations: 0 / 0.7233 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=330): time 0.5544/1.61, allocations: 22.77 MB / 0.7456 GB, free: 243.9 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.61, allocations: 167.9 kB / 0.7457 GB, free: 243.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0128/1.623, allocations: 6.023 MB / 0.7516 GB, free: 242.9 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008637/1.624, allocations: 80.33 kB / 0.7517 GB, free: 242.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004589/1.628, allocations: 5.189 MB / 0.7568 GB, free: 238.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001735/1.63, allocations: 1.253 MB / 0.758 GB, free: 238 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003137/1.633, allocations: 1.933 MB / 0.7599 GB, free: 237.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/1.633, allocations: 308.1 kB / 0.7602 GB, free: 236.8 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005421/1.639, allocations: 2.851 MB / 0.763 GB, free: 235.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008981/1.648, allocations: 8.673 MB / 0.7714 GB, free: 227.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01732/1.665, allocations: 12.51 MB / 0.7836 GB, free: 216.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00048/1.666, allocations: 57.38 kB / 0.7837 GB, free: 216.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02641/1.692, allocations: 11.27 MB / 0.7947 GB, free: 211.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.000351/1.692, allocations: 93.5 kB / 0.7948 GB, free: 211.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005827/1.693, allocations: 206.8 kB / 0.795 GB, free: 211.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004582/1.693, allocations: 276.7 kB / 0.7953 GB, free: 211.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007912/1.701, allocations: 2.358 MB / 0.7976 GB, free: 210 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000429/1.702, allocations: 403.6 kB / 0.7979 GB, free: 209.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008626/1.711, allocations: 485.5 kB / 0.7984 GB, free: 209.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/1.712, allocations: 0.5773 MB / 0.799 GB, free: 208.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1267): * Single equations (assignments): 1264 * 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.008411/1.721, allocations: 3.39 MB / 0.8023 GB, free: 205.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/1.722, allocations: 0.5399 MB / 0.8028 GB, free: 205.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007398/1.73, allocations: 3.448 MB / 0.8062 GB, free: 201.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-05/1.73, allocations: 36 kB / 0.8062 GB, free: 201.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/1.73, allocations: 4 kB / 0.8062 GB, free: 201.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-05/1.73, allocations: 18.75 kB / 0.8062 GB, free: 201.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02906/1.759, allocations: 13.77 MB / 0.8197 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/1.759, allocations: 33 kB / 0.8197 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/1.761, allocations: 0.6123 MB / 0.8203 GB, free: 186.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.558e-05/1.761, allocations: 48 kB / 0.8204 GB, free: 186.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/1.761, allocations: 99.98 kB / 0.8204 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-05/1.762, allocations: 67.78 kB / 0.8205 GB, free: 186.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.257e-05/1.762, allocations: 59.69 kB / 0.8206 GB, free: 186.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007036/1.769, allocations: 6.309 MB / 0.8267 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002928/1.772, allocations: 0.8413 MB / 0.8276 GB, free: 178.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00153/1.773, allocations: 99.97 kB / 0.8276 GB, free: 178.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002983/1.776, allocations: 143.9 kB / 0.8278 GB, free: 178.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/1.777, allocations: 307.6 kB / 0.8281 GB, free: 178.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.777, allocations: 137.7 kB / 0.8282 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00682/1.784, allocations: 3.748 MB / 0.8319 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 5.61e-07/1.784, allocations: 0 / 0.8319 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0128/1.796, allocations: 1.566 MB / 0.8334 GB, free: 172.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (317): * Single equations (assignments): 314 * 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.001266/1.798, allocations: 283.1 kB / 0.8337 GB, free: 172.5 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.812, allocations: 7.46 MB / 0.841 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.592e-05/1.812, allocations: 8.062 kB / 0.841 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002588/1.815, allocations: 1.575 MB / 0.8425 GB, free: 163.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006377/1.821, allocations: 0.7869 MB / 0.8433 GB, free: 162.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02941/1.85, allocations: 19.41 MB / 0.8622 GB, free: 142.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005422/1.856, allocations: 5.139 MB / 0.8672 GB, free: 137.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006539/1.862, allocations: 2.758 MB / 0.8699 GB, free: 135 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.863, allocations: 423.4 kB / 0.8703 GB, free: 134.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.173e-06/1.863, allocations: 0 / 0.8703 GB, free: 134.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.09564/1.959, allocations: 50.88 MB / 0.92 GB, free: 83.83 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches