Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001601/0.0016, allocations: 187.1 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001119/0.001119, allocations: 95.39 kB / 270.9 MB, free: 8.371 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.5305/0.5305, allocations: 43.55 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004641, allocations: 16 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1292, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5111/0.6403, allocations: 108.5 MB / 0.5847 GB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.6407, allocations: 83.95 kB / 0.5848 GB, free: 9.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9294/1.57, allocations: 146.2 MB / 0.7275 GB, free: 85.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.57, allocations: 0 / 0.7275 GB, free: 85.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003671/1.57, allocations: 149.7 kB / 0.7276 GB, free: 85.5 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02628/1.597, allocations: 6.964 MB / 0.7344 GB, free: 82.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.597, allocations: 11.69 kB / 0.7344 GB, free: 82.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02855/1.625, allocations: 3.621 MB / 0.738 GB, free: 82.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02509/1.651, allocations: 7.702 MB / 0.7455 GB, free: 80.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007561/1.651, allocations: 0.5964 MB / 0.7461 GB, free: 80.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00438/1.656, allocations: 0.7817 MB / 0.7468 GB, free: 80.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0738/1.73, allocations: 21.8 MB / 0.7681 GB, free: 70.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004947/1.73, allocations: 93.14 kB / 0.7682 GB, free: 70.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00391/1.734, allocations: 382.2 kB / 0.7686 GB, free: 70.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005219/1.739, allocations: 1.94 MB / 0.7705 GB, free: 70.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06409/1.803, allocations: 17.64 MB / 0.7877 GB, free: 58.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5424/2.346, allocations: 79.59 MB / 0.8654 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03098/2.377, allocations: 6.548 MB / 0.8718 GB, free: 41.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02753/2.405, allocations: 9.891 MB / 0.8815 GB, free: 39.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/2.405, allocations: 73.56 kB / 0.8816 GB, free: 39.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=300): time 6.973e-06/2.405, allocations: 0 / 0.8816 GB, free: 39.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=334): time 0.1077/2.512, allocations: 22.43 MB / 0.9035 GB, free: 34.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/2.513, allocations: 170 kB / 0.9036 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01735/2.53, allocations: 5.426 MB / 0.9089 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007245/2.531, allocations: 78.17 kB / 0.909 GB, free: 33.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004675/2.535, allocations: 5.043 MB / 0.9139 GB, free: 30.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001969/2.537, allocations: 1.262 MB / 0.9152 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/2.539, allocations: 198.7 kB / 0.9153 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009292/2.54, allocations: 0.7184 MB / 0.916 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009384/2.549, allocations: 2.846 MB / 0.9188 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/2.563, allocations: 8.587 MB / 0.9272 GB, free: 22.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/2.576, allocations: 4.809 MB / 0.9319 GB, free: 20.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002329/2.577, allocations: 62.86 kB / 0.932 GB, free: 20.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.03249/2.609, allocations: 11.02 MB / 0.9427 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/2.609, allocations: 91.53 kB / 0.9428 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003587/2.61, allocations: 208.6 kB / 0.943 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/2.61, allocations: 303.2 kB / 0.9433 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01484/2.625, allocations: 2.38 MB / 0.9456 GB, free: 17.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000438/2.625, allocations: 404.8 kB / 0.946 GB, free: 17.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0174/2.643, allocations: 0.5908 MB / 0.9466 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002168/2.645, allocations: 0.5661 MB / 0.9472 GB, free: 16.88 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: 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 (1253): * Single equations (assignments): 1250 * 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.01017/2.655, allocations: 3.389 MB / 0.9505 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00168/2.657, allocations: 0.5531 MB / 0.951 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/2.669, allocations: 3.395 MB / 0.9543 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.174e-05/2.669, allocations: 38.56 kB / 0.9544 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/2.669, allocations: 0 / 0.9544 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.202e-05/2.669, allocations: 17.48 kB / 0.9544 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04207/2.711, allocations: 13.9 MB / 0.9679 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-05/2.711, allocations: 34.19 kB / 0.968 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004543/2.716, allocations: 0.6004 MB / 0.9686 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.677e-05/2.716, allocations: 51.94 kB / 0.9686 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004214/2.716, allocations: 102.1 kB / 0.9687 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.683e-05/2.716, allocations: 69.23 kB / 0.9688 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.53e-05/2.716, allocations: 58.81 kB / 0.9688 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/2.733, allocations: 12.48 MB / 0.981 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003702/2.736, allocations: 0.86 MB / 0.9819 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001894/2.738, allocations: 104.4 kB / 0.982 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005362/2.744, allocations: 200.4 kB / 0.9822 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000919/2.745, allocations: 304.9 kB / 0.9824 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003572/2.745, allocations: 133 kB / 0.9826 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01216/2.757, allocations: 3.797 MB / 0.9863 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/2.757, allocations: 0 / 0.9863 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01262/2.77, allocations: 1.577 MB / 0.9878 GB, free: 6.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 152 * 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 (315): * Single equations (assignments): 312 * 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.001245/2.771, allocations: 298.9 kB / 0.9881 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01923/2.79, allocations: 6.463 MB / 0.9944 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.398e-05/2.791, allocations: 8 kB / 0.9944 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005827/2.796, allocations: 1.623 MB / 0.996 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006435/2.803, allocations: 0.7074 MB / 0.9967 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05078/2.854, allocations: 19.47 MB / 1.016 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01397/2.868, allocations: 5.289 MB / 1.021 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002595/2.87, allocations: 485.9 kB / 1.021 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/2.87, allocations: 4 kB / 1.021 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of Templates: time 0.5835/3.454, allocations: 88.02 MB / 1.107 GB, free: 160.5 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches