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.0009007/0.0009007, allocations: 94.98 kB / 18.01 MB, free: 5.73 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.001108/0.001108, allocations: 180.1 kB / 18.91 MB, free: 4.863 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.383/1.383, allocations: 223.3 MB / 243 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.209/0.209, allocations: 44.25 MB / 338.3 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 10.28 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3204/0.4354, allocations: 84.28 MB / 0.5441 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04513/0.4805, allocations: 16.48 MB / 0.5602 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02422/0.5048, allocations: 361 kB / 0.5606 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.5082, allocations: 0.6607 MB / 0.5612 GB, free: 8.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008906/0.5171, allocations: 2.413 MB / 0.5636 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00375/0.5209, allocations: 1.082 MB / 0.5646 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01418/0.5351, allocations: 9.709 MB / 0.5741 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01632/0.5515, allocations: 9.344 MB / 0.5832 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/0.5562, allocations: 1.887 MB / 0.5851 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006356/0.5626, allocations: 3.368 MB / 0.5884 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001784/0.5644, allocations: 252 kB / 0.5886 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.5682, allocations: 1.018 MB / 0.5896 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004972/0.5732, allocations: 2.937 MB / 0.5925 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007402/0.5806, allocations: 3.328 MB / 0.5957 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.5932, allocations: 8.783 MB / 0.6043 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5933, allocations: 0 / 0.6043 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5933, allocations: 4 kB / 0.6043 GB, free: 13.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000514/0.5938, allocations: 0 / 0.6043 GB, free: 13.62 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.02174/0.6155, allocations: 6.293 MB / 0.6105 GB, free: 7.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.6156, allocations: 12.03 kB / 0.6105 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.6275, allocations: 2.717 MB / 0.6131 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009083/0.6366, allocations: 3.677 MB / 0.6167 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005731/0.6372, allocations: 435.7 kB / 0.6171 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002635/0.6399, allocations: 0.5661 MB / 0.6177 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05008/0.69, allocations: 20.33 MB / 0.6375 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004609/0.6905, allocations: 67.41 kB / 0.6376 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002743/0.6933, allocations: 271.8 kB / 0.6379 GB, free: 9.949 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006217/0.6995, allocations: 3.337 MB / 0.6411 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04233/0.7419, allocations: 16.35 MB / 0.6571 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5875/1.329, allocations: 65.31 MB / 0.7209 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/1.348, allocations: 6.308 MB / 0.727 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003717/1.351, allocations: 2.057 MB / 0.729 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01412/1.366, allocations: 9.146 MB / 0.738 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/1.366, allocations: 58.31 kB / 0.738 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 6.402e-06/1.366, allocations: 2.938 kB / 0.738 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.05683/1.422, allocations: 21.37 MB / 0.7589 GB, free: 132 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/1.423, allocations: 157.2 kB / 0.759 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00849/1.431, allocations: 5.838 MB / 0.7647 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004681/1.432, allocations: 71.03 kB / 0.7648 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002615/1.434, allocations: 4.957 MB / 0.7696 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001129/1.435, allocations: 1.119 MB / 0.7707 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008966/1.436, allocations: 0.7882 MB / 0.7715 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/1.436, allocations: 305.1 kB / 0.7718 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003843/1.44, allocations: 2.629 MB / 0.7744 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006088/1.446, allocations: 8.243 MB / 0.7824 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/1.457, allocations: 11.81 MB / 0.794 GB, free: 91.58 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002162/1.458, allocations: 56 kB / 0.794 GB, free: 91.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.01794/1.476, allocations: 10.58 MB / 0.8043 GB, free: 80.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/1.476, allocations: 88 kB / 0.8044 GB, free: 80.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002541/1.476, allocations: 200 kB / 0.8046 GB, free: 80.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/1.476, allocations: 267.9 kB / 0.8049 GB, free: 80.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00676/1.483, allocations: 2.223 MB / 0.807 GB, free: 78.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002462/1.483, allocations: 395.1 kB / 0.8074 GB, free: 77.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006418/1.49, allocations: 447.4 kB / 0.8078 GB, free: 77.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.491, allocations: 0.5508 MB / 0.8084 GB, free: 76.8 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.0056/1.497, allocations: 3.235 MB / 0.8115 GB, free: 73.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.498, allocations: 0.5168 MB / 0.812 GB, free: 73.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004519/1.502, allocations: 2.965 MB / 0.8149 GB, free: 70.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-05/1.502, allocations: 32 kB / 0.815 GB, free: 70.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/1.502, allocations: 0 / 0.815 GB, free: 70.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/1.502, allocations: 11.95 kB / 0.815 GB, free: 70 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/1.525, allocations: 12.47 MB / 0.8272 GB, free: 57.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-05/1.526, allocations: 32 kB / 0.8272 GB, free: 57.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/1.527, allocations: 0.5387 MB / 0.8277 GB, free: 56.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-05/1.528, allocations: 48 kB / 0.8278 GB, free: 56.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/1.528, allocations: 87.98 kB / 0.8278 GB, free: 56.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.32e-05/1.528, allocations: 63.73 kB / 0.8279 GB, free: 56.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.687e-05/1.528, allocations: 51.8 kB / 0.828 GB, free: 56.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006188/1.534, allocations: 5.544 MB / 0.8334 GB, free: 50.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/1.536, allocations: 0.5918 MB / 0.8339 GB, free: 49.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/1.537, allocations: 95.64 kB / 0.834 GB, free: 49.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/1.54, allocations: 139.9 kB / 0.8342 GB, free: 49.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/1.54, allocations: 275.9 kB / 0.8344 GB, free: 49.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/1.54, allocations: 117.3 kB / 0.8345 GB, free: 48.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006235/1.546, allocations: 3.63 MB / 0.8381 GB, free: 45.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.61e-07/1.546, allocations: 4 kB / 0.8381 GB, free: 45.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008255/1.555, allocations: 1.46 MB / 0.8395 GB, free: 43.85 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.0009048/1.556, allocations: 271.8 kB / 0.8398 GB, free: 43.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009565/1.565, allocations: 5.976 MB / 0.8456 GB, free: 37.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-05/1.565, allocations: 4 kB / 0.8456 GB, free: 37.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001965/1.567, allocations: 1.344 MB / 0.8469 GB, free: 36.29 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02806/1.595, allocations: 0.7747 MB / 0.8477 GB, free: 35.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02516/1.621, allocations: 18.98 MB / 0.8662 GB, free: 16.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006022/1.627, allocations: 4.894 MB / 0.871 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/1.628, allocations: 447.4 kB / 0.8714 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of SimCode: time 1.994e-06/1.628, allocations: 0 / 0.8714 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.3873/2.015, allocations: 83.6 MB / 0.9531 GB, free: 182.6 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/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_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches