Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.001679, allocations: 102.7 kB / 16.64 MB, free: 6.82 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.001909/0.001909, allocations: 190.5 kB / 17.56 MB, free: 5.941 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.569/1.569, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2052/0.2052, allocations: 43.52 MB / 314.3 MB, free: 0.7148 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.001541/0.001541, allocations: 67.61 kB / 382.9 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 57.8 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.07531/0.1788, allocations: 87.59 MB / 0.5159 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2888/0.4676, allocations: 16.67 MB / 0.5322 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0183/0.4859, allocations: 369.6 kB / 0.5325 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.4962, allocations: 5.056 MB / 0.5374 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007838/0.5042, allocations: 2.548 MB / 0.5399 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.5073, allocations: 1.126 MB / 0.541 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.5198, allocations: 7.099 MB / 0.548 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01054/0.5304, allocations: 6.935 MB / 0.5547 GB, free: 216 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006488/0.537, allocations: 2.839 MB / 0.5575 GB, free: 216 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007971/0.545, allocations: 4.402 MB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003299/0.5483, allocations: 0.6273 MB / 0.5624 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004919/0.5533, allocations: 1.34 MB / 0.5637 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006104/0.5594, allocations: 3.566 MB / 0.5672 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008966/0.5684, allocations: 4.066 MB / 0.5712 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.5809, allocations: 9.707 MB / 0.5807 GB, free: 5.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.5809, allocations: 0 / 0.5807 GB, free: 5.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5809, allocations: 3.938 kB / 0.5807 GB, free: 5.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005688/0.5815, allocations: 4 kB / 0.5807 GB, free: 5.875 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.0227/0.6042, allocations: 8.284 MB / 0.5888 GB, free: 14.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.6043, allocations: 8.031 kB / 0.5888 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.6164, allocations: 2.723 MB / 0.5914 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009429/0.6258, allocations: 3.957 MB / 0.5953 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000509/0.6264, allocations: 465.4 kB / 0.5957 GB, free: 7.887 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002799/0.6292, allocations: 0.5864 MB / 0.5963 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04976/0.679, allocations: 21.26 MB / 0.6171 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004671/0.6795, allocations: 67.97 kB / 0.6171 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002678/0.6822, allocations: 292.8 kB / 0.6174 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005921/0.6881, allocations: 3.534 MB / 0.6209 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04197/0.7302, allocations: 17.27 MB / 0.6377 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09887/0.8291, allocations: 67.9 MB / 0.704 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/0.8482, allocations: 6.748 MB / 0.7106 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004501/0.8527, allocations: 2.326 MB / 0.7129 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01998/0.8727, allocations: 9.808 MB / 0.7225 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01522/0.888, allocations: 4.389 MB / 0.7268 GB, free: 188 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=299): time 1.192e-05/0.8881, allocations: 4 kB / 0.7268 GB, free: 184 kB / 0.5606 GB Notification: Performance of matching and sorting (n=333): time 0.3199/1.208, allocations: 22.99 MB / 0.7492 GB, free: 243.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/1.208, allocations: 162 kB / 0.7494 GB, free: 243 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/1.223, allocations: 6.058 MB / 0.7553 GB, free: 242.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007045/1.224, allocations: 78.45 kB / 0.7554 GB, free: 242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005498/1.229, allocations: 5.291 MB / 0.7605 GB, free: 238 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001927/1.231, allocations: 1.271 MB / 0.7618 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006677/1.238, allocations: 1.937 MB / 0.7637 GB, free: 236.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.644e-05/1.238, allocations: 309.3 kB / 0.764 GB, free: 235.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006003/1.244, allocations: 2.89 MB / 0.7668 GB, free: 235 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009961/1.254, allocations: 8.707 MB / 0.7753 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/1.268, allocations: 12.61 MB / 0.7876 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003543/1.268, allocations: 58.62 kB / 0.7877 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02325/1.292, allocations: 11.38 MB / 0.7988 GB, free: 210.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003286/1.292, allocations: 119.5 kB / 0.7989 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004095/1.293, allocations: 203.4 kB / 0.7991 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000328/1.293, allocations: 273.9 kB / 0.7993 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007552/1.3, allocations: 2.375 MB / 0.8017 GB, free: 208.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004074/1.301, allocations: 408.1 kB / 0.802 GB, free: 208.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008023/1.309, allocations: 0.4894 MB / 0.8025 GB, free: 207.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/1.311, allocations: 0.5775 MB / 0.8031 GB, free: 207.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1271): * Single equations (assignments): 1267 * Array equations: 3 * Algorithm blocks: 1 * 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.007466/1.318, allocations: 3.393 MB / 0.8064 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001593/1.32, allocations: 0.5523 MB / 0.8069 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007225/1.327, allocations: 3.514 MB / 0.8104 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-05/1.327, allocations: 40 kB / 0.8104 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.259e-05/1.327, allocations: 3 kB / 0.8104 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/1.327, allocations: 17.77 kB / 0.8104 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02316/1.35, allocations: 13.77 MB / 0.8239 GB, free: 186 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/1.351, allocations: 32 kB / 0.8239 GB, free: 186 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/1.353, allocations: 0.6523 MB / 0.8245 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-05/1.353, allocations: 52.84 kB / 0.8246 GB, free: 185.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/1.353, allocations: 104 kB / 0.8247 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-05/1.353, allocations: 63.78 kB / 0.8248 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.015e-05/1.353, allocations: 59.69 kB / 0.8248 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007426/1.361, allocations: 6.194 MB / 0.8309 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/1.363, allocations: 0.8452 MB / 0.8317 GB, free: 177.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/1.364, allocations: 102.2 kB / 0.8318 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/1.367, allocations: 159.3 kB / 0.8319 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/1.368, allocations: 316 kB / 0.8322 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/1.368, allocations: 135.6 kB / 0.8324 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005453/1.373, allocations: 3.764 MB / 0.836 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.81e-07/1.373, allocations: 0 / 0.836 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008623/1.382, allocations: 1.571 MB / 0.8376 GB, free: 171.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007237/1.383, allocations: 286.8 kB / 0.8379 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.395, allocations: 7.595 MB / 0.8453 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.262e-05/1.395, allocations: 4 kB / 0.8453 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002793/1.398, allocations: 1.761 MB / 0.847 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005651/1.403, allocations: 0.7981 MB / 0.8478 GB, free: 161 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02961/1.433, allocations: 20.15 MB / 0.8675 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006379/1.44, allocations: 5.149 MB / 0.8725 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/1.441, allocations: 495.4 kB / 0.873 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.441, allocations: 0 / 0.873 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.1093/1.551, allocations: 90.88 MB / 0.9617 GB, free: 43.79 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches