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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009799/0.0009801, allocations: 91.8 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1791/0.1791, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.305e-05, allocations: 4 kB / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3783/0.4972, allocations: 109.3 MB / 0.6084 GB, free: 12.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4975, allocations: 83.3 kB / 0.6085 GB, free: 11.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5647/1.062, allocations: 140.8 MB / 0.746 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.893e-06/1.062, allocations: 3.938 kB / 0.746 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002111/1.062, allocations: 146.8 kB / 0.7461 GB, free: 112.5 MB / 0.5105 GB 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.0143/1.077, allocations: 6.315 MB / 0.7523 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/1.077, allocations: 10.72 kB / 0.7523 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/1.092, allocations: 3.548 MB / 0.7558 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01564/1.107, allocations: 7.07 MB / 0.7627 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004474/1.108, allocations: 0.5683 MB / 0.7632 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002958/1.111, allocations: 0.7518 MB / 0.764 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04348/1.154, allocations: 20.66 MB / 0.7841 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003/1.155, allocations: 96.94 kB / 0.7842 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002013/1.157, allocations: 372.7 kB / 0.7846 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002612/1.159, allocations: 1.827 MB / 0.7864 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03164/1.191, allocations: 16.36 MB / 0.8023 GB, free: 96.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06723/1.258, allocations: 77.08 MB / 0.8776 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/1.272, allocations: 6.117 MB / 0.8836 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/1.275, allocations: 1.937 MB / 0.8855 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/1.287, allocations: 9.232 MB / 0.8945 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.287, allocations: 64.5 kB / 0.8946 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=257): time 4.719e-06/1.287, allocations: 0 / 0.8946 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of matching and sorting (n=291): time 0.284/1.571, allocations: 19.63 MB / 0.9137 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/1.571, allocations: 157.3 kB / 0.9139 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008903/1.58, allocations: 5.098 MB / 0.9189 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004662/1.58, allocations: 72.33 kB / 0.9189 GB, free: 117 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003569/1.584, allocations: 4.962 MB / 0.9238 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00118/1.585, allocations: 1.116 MB / 0.9249 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004449/1.585, allocations: 185.6 kB / 0.925 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004612/1.586, allocations: 0.6878 MB / 0.9257 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/1.59, allocations: 2.44 MB / 0.9281 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005508/1.595, allocations: 7.972 MB / 0.9359 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006097/1.601, allocations: 4.37 MB / 0.9401 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/1.601, allocations: 60.16 kB / 0.9402 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.01403/1.615, allocations: 10.15 MB / 0.9501 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.616, allocations: 89.84 kB / 0.9502 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/1.616, allocations: 198.3 kB / 0.9504 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/1.616, allocations: 290.2 kB / 0.9507 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005994/1.622, allocations: 2.233 MB / 0.9528 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002114/1.622, allocations: 383 kB / 0.9532 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005954/1.628, allocations: 0.5708 MB / 0.9538 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008705/1.629, allocations: 0.5428 MB / 0.9543 GB, free: 106 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 78 (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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1174): * Single equations (assignments): 1171 * 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.001144/1.63, allocations: 0.8351 MB / 0.9551 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000977/1.631, allocations: 0.515 MB / 0.9556 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/1.635, allocations: 2.792 MB / 0.9583 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/1.635, allocations: 29.59 kB / 0.9584 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.635, allocations: 0 / 0.9584 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.233e-05/1.635, allocations: 19.2 kB / 0.9584 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/1.652, allocations: 12.34 MB / 0.9704 GB, free: 99.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/1.652, allocations: 29.25 kB / 0.9705 GB, free: 99.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/1.653, allocations: 0.5209 MB / 0.971 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.573e-05/1.654, allocations: 50.09 kB / 0.971 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/1.654, allocations: 97.02 kB / 0.9711 GB, free: 99.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-05/1.654, allocations: 67.39 kB / 0.9712 GB, free: 99.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-05/1.654, allocations: 45.31 kB / 0.9712 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005908/1.66, allocations: 11 MB / 0.982 GB, free: 89.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.661, allocations: 0.5892 MB / 0.9825 GB, free: 88.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005442/1.662, allocations: 93.2 kB / 0.9826 GB, free: 88.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.664, allocations: 183 kB / 0.9828 GB, free: 88.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/1.664, allocations: 272.9 kB / 0.9831 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.664, allocations: 113.5 kB / 0.9832 GB, free: 88.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004479/1.669, allocations: 3.526 MB / 0.9866 GB, free: 87.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/1.669, allocations: 0 / 0.9866 GB, free: 87.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007415/1.676, allocations: 1.476 MB / 0.9881 GB, free: 87.32 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 266 * 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.0005722/1.677, allocations: 271.9 kB / 0.9883 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008897/1.685, allocations: 5.704 MB / 0.9939 GB, free: 85.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.132e-05/1.685, allocations: 5.688 kB / 0.9939 GB, free: 85.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/1.687, allocations: 1.296 MB / 0.9952 GB, free: 84.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/1.691, allocations: 0.7112 MB / 0.9959 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/1.709, allocations: 12 MB / 1.008 GB, free: 79.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004753/1.714, allocations: 5.027 MB / 1.012 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005833/1.72, allocations: 2.612 MB / 1.015 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007946/1.721, allocations: 380.3 kB / 1.015 GB, free: 76.26 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/1.721, allocations: 0 / 1.015 GB, free: 76.26 MB / 0.5261 GB Notification: Performance of Templates: time 0.07048/1.791, allocations: 44.23 MB / 1.059 GB, free: 45.19 MB / 0.5261 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches