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.001172/0.001172, allocations: 110.8 kB / 16.41 MB, free: 6.027 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.001282/0.001282, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.717/1.717, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2379/0.2379, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 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.001796/0.001796, allocations: 71.89 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.15, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02304/0.1731, allocations: 17.63 MB / 0.5051 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.1875, allocations: 5.216 MB / 0.5102 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/0.1918, allocations: 103.8 kB / 0.5103 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.2029, allocations: 5.241 MB / 0.5154 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009782/0.2127, allocations: 2.816 MB / 0.5182 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.2165, allocations: 1.186 MB / 0.5193 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0125/0.229, allocations: 7.032 MB / 0.5262 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3587/0.5877, allocations: 6.543 MB / 0.5326 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006793/0.5945, allocations: 2.793 MB / 0.5353 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008771/0.6033, allocations: 3.987 MB / 0.5392 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003792/0.6072, allocations: 0.6289 MB / 0.5398 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008586/0.6158, allocations: 1.319 MB / 0.5411 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01228/0.6281, allocations: 3.524 MB / 0.5445 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01864/0.6468, allocations: 4.01 MB / 0.5485 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03065/0.6776, allocations: 12.23 MB / 0.5604 GB, free: 1.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.6776, allocations: 3.906 kB / 0.5604 GB, free: 1.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6776, allocations: 0 / 0.5604 GB, free: 1.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007032/0.6784, allocations: 0 / 0.5604 GB, free: 1.207 MB / 414.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.04645/0.7248, allocations: 8.198 MB / 0.5684 GB, free: 11.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/0.7249, allocations: 12.86 kB / 0.5684 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/0.7435, allocations: 2.718 MB / 0.5711 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01493/0.7585, allocations: 4.005 MB / 0.575 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008658/0.7594, allocations: 463 kB / 0.5754 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004323/0.7637, allocations: 0.5891 MB / 0.576 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05636/0.8201, allocations: 21.21 MB / 0.5967 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002427/0.8204, allocations: 76.64 kB / 0.5968 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.8215, allocations: 283.8 kB / 0.5971 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005553/0.827, allocations: 3.546 MB / 0.6005 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04343/0.8705, allocations: 17.2 MB / 0.6173 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1031/0.9736, allocations: 67.5 MB / 0.6833 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01771/0.9914, allocations: 6.68 MB / 0.6898 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003952/0.9954, allocations: 2.345 MB / 0.6921 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01794/1.013, allocations: 9.766 MB / 0.7016 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/1.013, allocations: 71.38 kB / 0.7017 GB, free: 8.387 MB / 0.545 GB Notification: Performance of pre-optimization done (n=296): time 7.143e-06/1.013, allocations: 0 / 0.7017 GB, free: 8.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=330): time 0.0678/1.081, allocations: 22.76 MB / 0.7239 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.081, allocations: 158.7 kB / 0.724 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.092, allocations: 6.029 MB / 0.7299 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007412/1.092, allocations: 73.7 kB / 0.73 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004171/1.097, allocations: 5.188 MB / 0.7351 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00174/1.098, allocations: 1.252 MB / 0.7363 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002865/1.101, allocations: 1.939 MB / 0.7382 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.101, allocations: 305.1 kB / 0.7385 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005089/1.106, allocations: 2.85 MB / 0.7413 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/1.116, allocations: 8.673 MB / 0.7497 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3758/1.492, allocations: 12.51 MB / 0.762 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002441/1.493, allocations: 59.62 kB / 0.762 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.03016/1.523, allocations: 11.25 MB / 0.773 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001846/1.523, allocations: 93.22 kB / 0.7731 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004503/1.524, allocations: 204.5 kB / 0.7733 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/1.524, allocations: 273.3 kB / 0.7735 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009017/1.533, allocations: 2.366 MB / 0.7759 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005927/1.534, allocations: 407.9 kB / 0.7762 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008593/1.542, allocations: 474 kB / 0.7767 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002152/1.545, allocations: 0.5789 MB / 0.7773 GB, free: 185.4 MB / 0.5919 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.008508/1.553, allocations: 3.394 MB / 0.7806 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.554, allocations: 0.5398 MB / 0.7811 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006255/1.56, allocations: 3.449 MB / 0.7845 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.592e-05/1.56, allocations: 37.02 kB / 0.7845 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.56, allocations: 0.9375 kB / 0.7845 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.652e-05/1.561, allocations: 17.86 kB / 0.7845 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02912/1.59, allocations: 13.75 MB / 0.798 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/1.59, allocations: 39.94 kB / 0.798 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.592, allocations: 0.6147 MB / 0.7986 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.755e-05/1.592, allocations: 48 kB / 0.7986 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/1.592, allocations: 101.7 kB / 0.7987 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.503e-05/1.592, allocations: 67.36 kB / 0.7988 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-05/1.592, allocations: 51.75 kB / 0.7988 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007448/1.6, allocations: 6.308 MB / 0.805 GB, free: 170 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003053/1.603, allocations: 0.8401 MB / 0.8058 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.604, allocations: 104.5 kB / 0.8059 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/1.607, allocations: 142.7 kB / 0.8061 GB, free: 169 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/1.607, allocations: 300.5 kB / 0.8064 GB, free: 168.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/1.607, allocations: 144.5 kB / 0.8065 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006794/1.614, allocations: 3.745 MB / 0.8101 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.132e-06/1.614, allocations: 0 / 0.8101 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01176/1.626, allocations: 1.563 MB / 0.8117 GB, free: 164 MB / 0.5919 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.0009044/1.627, allocations: 283.7 kB / 0.8119 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01059/1.637, allocations: 6.591 MB / 0.8184 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.72e-05/1.637, allocations: 4.812 kB / 0.8184 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002418/1.64, allocations: 1.57 MB / 0.8199 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005735/1.646, allocations: 0.7942 MB / 0.8207 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03097/1.677, allocations: 15.63 MB / 0.836 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007977/1.685, allocations: 5.146 MB / 0.841 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006159/1.691, allocations: 2.75 MB / 0.8437 GB, free: 133.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.692, allocations: 415.4 kB / 0.8441 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/1.692, allocations: 0 / 0.8441 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.08869/1.781, allocations: 45.36 MB / 0.8884 GB, free: 88.13 MB / 0.5919 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches