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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 182.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007967/0.0007966, allocations: 86.61 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3476/0.3476, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.648e-05, allocations: 4 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 58.86 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4849, allocations: 109 MB / 0.5792 GB, free: 12.03 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4852, allocations: 83.58 kB / 0.5793 GB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6018/1.087, allocations: 146.8 MB / 0.7226 GB, free: 84.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.087, allocations: 0 / 0.7226 GB, free: 84.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002536/1.087, allocations: 145.7 kB / 0.7227 GB, free: 84.07 MB / 490.7 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.0171/1.104, allocations: 6.739 MB / 0.7293 GB, free: 81.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.104, allocations: 10.28 kB / 0.7293 GB, free: 81.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01688/1.121, allocations: 3.631 MB / 0.7329 GB, free: 80.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01825/1.14, allocations: 7.691 MB / 0.7404 GB, free: 79.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006481/1.14, allocations: 0.602 MB / 0.741 GB, free: 79.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003745/1.144, allocations: 0.7885 MB / 0.7417 GB, free: 79.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04778/1.192, allocations: 21.54 MB / 0.7628 GB, free: 69.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003289/1.192, allocations: 103 kB / 0.7629 GB, free: 69.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001795/1.194, allocations: 383.3 kB / 0.7632 GB, free: 69.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002601/1.197, allocations: 1.942 MB / 0.7651 GB, free: 69.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03619/1.233, allocations: 17.21 MB / 0.7819 GB, free: 60.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3756/1.609, allocations: 79.66 MB / 0.8597 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/1.626, allocations: 6.485 MB / 0.8661 GB, free: 79.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003707/1.63, allocations: 2.176 MB / 0.8682 GB, free: 79.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01549/1.645, allocations: 9.946 MB / 0.8779 GB, free: 77.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01269/1.658, allocations: 4.284 MB / 0.8821 GB, free: 77.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=299): time 5.581e-06/1.658, allocations: 0 / 0.8821 GB, free: 77.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=333): time 0.05463/1.712, allocations: 21.03 MB / 0.9026 GB, free: 72.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/1.713, allocations: 159.5 kB / 0.9028 GB, free: 72.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007627/1.72, allocations: 5.295 MB / 0.9079 GB, free: 71.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004852/1.721, allocations: 75.7 kB / 0.908 GB, free: 71.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003903/1.725, allocations: 5.311 MB / 0.9132 GB, free: 68.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001354/1.726, allocations: 1.268 MB / 0.9144 GB, free: 68.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003917/1.726, allocations: 199 kB / 0.9146 GB, free: 68.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003809/1.727, allocations: 0.7136 MB / 0.9153 GB, free: 67.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003586/1.73, allocations: 2.655 MB / 0.9179 GB, free: 67.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006427/1.737, allocations: 8.402 MB / 0.9261 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006247/1.743, allocations: 4.7 MB / 0.9307 GB, free: 58.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/1.743, allocations: 59.12 kB / 0.9308 GB, free: 58.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.01834/1.762, allocations: 10.86 MB / 0.9414 GB, free: 54.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.762, allocations: 118 kB / 0.9415 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/1.762, allocations: 204.1 kB / 0.9417 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/1.762, allocations: 300.9 kB / 0.942 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006774/1.769, allocations: 2.395 MB / 0.9443 GB, free: 54.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002161/1.769, allocations: 404.6 kB / 0.9447 GB, free: 54.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006851/1.776, allocations: 0.6074 MB / 0.9453 GB, free: 54.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008288/1.777, allocations: 0.5755 MB / 0.9459 GB, free: 53.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * Number of states: 0 () * Number of discrete variables: 77 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1253): * Single equations (assignments): 1249 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001149/1.778, allocations: 0.8651 MB / 0.9467 GB, free: 53.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009397/1.779, allocations: 0.5583 MB / 0.9472 GB, free: 52.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005033/1.784, allocations: 3.269 MB / 0.9504 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-05/1.784, allocations: 30.94 kB / 0.9505 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.784, allocations: 2.531 kB / 0.9505 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.649e-05/1.784, allocations: 15.28 kB / 0.9505 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/1.805, allocations: 13.57 MB / 0.9637 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/1.805, allocations: 34.66 kB / 0.9638 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/1.807, allocations: 0.6125 MB / 0.9644 GB, free: 46.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.265e-05/1.807, allocations: 57.66 kB / 0.9644 GB, free: 46.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/1.807, allocations: 101.2 kB / 0.9645 GB, free: 46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.461e-05/1.807, allocations: 70.06 kB / 0.9646 GB, free: 45.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.911e-05/1.807, allocations: 50.73 kB / 0.9646 GB, free: 45.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007373/1.815, allocations: 11.98 MB / 0.9763 GB, free: 34.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/1.817, allocations: 0.8475 MB / 0.9772 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006073/1.818, allocations: 99.03 kB / 0.9773 GB, free: 33.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.82, allocations: 226.8 kB / 0.9775 GB, free: 33.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/1.82, allocations: 305.7 kB / 0.9778 GB, free: 32.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/1.82, allocations: 136.7 kB / 0.9779 GB, free: 32.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004814/1.825, allocations: 3.656 MB / 0.9815 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/1.825, allocations: 0 / 0.9815 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006795/1.832, allocations: 1.591 MB / 0.983 GB, free: 28.02 MB / 0.4948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (314): * Single equations (assignments): 309 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004618/1.832, allocations: 291.2 kB / 0.9833 GB, free: 27.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007946/1.84, allocations: 6.275 MB / 0.9894 GB, free: 21.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.748e-05/1.84, allocations: 4.5 kB / 0.9894 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/1.843, allocations: 1.803 MB / 0.9912 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.847, allocations: 0.717 MB / 0.9919 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/1.869, allocations: 12.91 MB / 1.004 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004761/1.874, allocations: 5.289 MB / 1.01 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006217/1.88, allocations: 2.776 MB / 1.012 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007758/1.881, allocations: 408.8 kB / 1.013 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/1.881, allocations: 0 / 1.013 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of Templates: time 0.3952/2.276, allocations: 47.87 MB / 1.06 GB, free: 96.28 MB / 0.5261 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/jenkins/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