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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 183.5 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.267/1.267, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008291/0.0008294, allocations: 97.84 kB / 267.1 MB, free: 9.27 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.3597/0.3597, allocations: 43.48 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.157e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/0.4573, allocations: 108.4 MB / 0.5787 GB, free: 13.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4576, allocations: 80.2 kB / 0.5788 GB, free: 13.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6067/1.064, allocations: 146.3 MB / 0.7216 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.274e-06/1.064, allocations: 0 / 0.7216 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002601/1.065, allocations: 151.2 kB / 0.7218 GB, free: 82.45 MB / 0.4948 GB 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.0168/1.081, allocations: 6.619 MB / 0.7282 GB, free: 79.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.082, allocations: 9.094 kB / 0.7282 GB, free: 79.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/1.098, allocations: 3.628 MB / 0.7318 GB, free: 79.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01954/1.117, allocations: 7.662 MB / 0.7393 GB, free: 78.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004674/1.118, allocations: 0.6006 MB / 0.7399 GB, free: 78.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003326/1.121, allocations: 0.7936 MB / 0.7406 GB, free: 78.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04672/1.168, allocations: 21.53 MB / 0.7617 GB, free: 73.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003842/1.168, allocations: 99.23 kB / 0.7617 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001874/1.17, allocations: 383.4 kB / 0.7621 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002964/1.173, allocations: 1.949 MB / 0.764 GB, free: 73.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03648/1.21, allocations: 17.19 MB / 0.7808 GB, free: 71.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08715/1.297, allocations: 79.6 MB / 0.8585 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/1.312, allocations: 6.461 MB / 0.8648 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/1.315, allocations: 2.163 MB / 0.867 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0147/1.33, allocations: 9.92 MB / 0.8766 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/1.33, allocations: 64.56 kB / 0.8767 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=296): time 5.39e-06/1.33, allocations: 0 / 0.8767 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=330): time 0.3617/1.692, allocations: 20.95 MB / 0.8972 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/1.692, allocations: 161.3 kB / 0.8973 GB, free: 91.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009676/1.702, allocations: 5.28 MB / 0.9025 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007079/1.702, allocations: 72.36 kB / 0.9025 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003662/1.706, allocations: 5.202 MB / 0.9076 GB, free: 88.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001521/1.708, allocations: 1.244 MB / 0.9088 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/1.708, allocations: 193.6 kB / 0.909 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005258/1.709, allocations: 0.7185 MB / 0.9097 GB, free: 87.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003705/1.712, allocations: 2.644 MB / 0.9123 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006131/1.719, allocations: 8.381 MB / 0.9205 GB, free: 80 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006719/1.725, allocations: 4.663 MB / 0.9251 GB, free: 79.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/1.725, allocations: 56.94 kB / 0.9251 GB, free: 79.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1273) (initialization): time 0.01855/1.744, allocations: 10.81 MB / 0.9357 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/1.744, allocations: 93.44 kB / 0.9357 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000263/1.744, allocations: 200.5 kB / 0.9359 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/1.745, allocations: 306.8 kB / 0.9362 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008299/1.753, allocations: 2.376 MB / 0.9386 GB, free: 78.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004857/1.754, allocations: 402.3 kB / 0.9389 GB, free: 78.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008874/1.762, allocations: 0.591 MB / 0.9395 GB, free: 78.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001671/1.764, allocations: 0.5679 MB / 0.9401 GB, free: 78.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1249): * Single equations (assignments): 1246 * Array equations: 3 * Algorithm blocks: 0 * 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.001554/1.766, allocations: 0.8671 MB / 0.9409 GB, free: 78.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/1.767, allocations: 0.5457 MB / 0.9414 GB, free: 77.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006225/1.773, allocations: 3.25 MB / 0.9446 GB, free: 77.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.336e-05/1.773, allocations: 37.31 kB / 0.9447 GB, free: 77.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.773, allocations: 0 / 0.9447 GB, free: 77.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/1.773, allocations: 16.03 kB / 0.9447 GB, free: 77.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02501/1.798, allocations: 13.65 MB / 0.958 GB, free: 73.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-05/1.799, allocations: 37.88 kB / 0.958 GB, free: 73.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/1.801, allocations: 0.5902 MB / 0.9586 GB, free: 73.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-05/1.801, allocations: 53.53 kB / 0.9587 GB, free: 73.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/1.801, allocations: 103.5 kB / 0.9588 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-05/1.801, allocations: 72.28 kB / 0.9588 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.511e-05/1.801, allocations: 49.09 kB / 0.9589 GB, free: 73.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008345/1.809, allocations: 12.12 MB / 0.9707 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/1.812, allocations: 0.8498 MB / 0.9715 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000716/1.813, allocations: 104.5 kB / 0.9716 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.815, allocations: 202 kB / 0.9718 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003203/1.815, allocations: 289.6 kB / 0.9721 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/1.815, allocations: 136.3 kB / 0.9722 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006191/1.822, allocations: 3.646 MB / 0.9758 GB, free: 60.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-07/1.822, allocations: 0 / 0.9758 GB, free: 60.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009132/1.831, allocations: 1.573 MB / 0.9773 GB, free: 60.58 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (311): * Single equations (assignments): 308 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006567/1.831, allocations: 279.8 kB / 0.9776 GB, free: 60.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.842, allocations: 6.215 MB / 0.9837 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.691e-05/1.842, allocations: 3.656 kB / 0.9837 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/1.844, allocations: 1.502 MB / 0.9851 GB, free: 57.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004557/1.849, allocations: 0.7117 MB / 0.9858 GB, free: 57.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/1.874, allocations: 12.9 MB / 0.9984 GB, free: 51.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005307/1.879, allocations: 5.286 MB / 1.004 GB, free: 50.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006725/1.886, allocations: 2.778 MB / 1.006 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009664/1.887, allocations: 402.4 kB / 1.007 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/1.887, allocations: 0 / 1.007 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.08269/1.97, allocations: 47.2 MB / 1.053 GB, free: 22.95 MB / 0.5105 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