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.0009682/0.000968, allocations: 167.6 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0007809/0.0007808, allocations: 90.11 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.575e-05/1.599e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1249, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4104/0.5353, allocations: 108.6 MB / 0.6007 GB, free: 3.867 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.5356, allocations: 71.97 kB / 0.6008 GB, free: 3.797 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6557/1.191, allocations: 137.4 MB / 0.735 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.683e-06/1.191, allocations: 4 kB / 0.735 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003652/1.192, allocations: 138.8 kB / 0.7352 GB, free: 106.5 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01766/1.209, allocations: 6.319 MB / 0.7413 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.209, allocations: 14.08 kB / 0.7414 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0175/1.227, allocations: 3.545 MB / 0.7448 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/1.243, allocations: 7.069 MB / 0.7517 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004279/1.244, allocations: 247.3 kB / 0.752 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003425/1.247, allocations: 449.2 kB / 0.7524 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02052/1.268, allocations: 10.75 MB / 0.7629 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03435/1.302, allocations: 15.79 MB / 0.7783 GB, free: 92.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005843/1.303, allocations: 93.22 kB / 0.7784 GB, free: 92.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003825/1.307, allocations: 49.19 kB / 0.7784 GB, free: 92.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003016/1.31, allocations: 1.825 MB / 0.7802 GB, free: 91.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07312/1.383, allocations: 75.16 MB / 0.8536 GB, free: 18.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/1.387, allocations: 3.118 MB / 0.8567 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/1.389, allocations: 1.717 MB / 0.8583 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/1.39, allocations: 1.768 MB / 0.8601 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/1.39, allocations: 71.52 kB / 0.8601 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=264): time 6.913e-06/1.39, allocations: 0 / 0.8601 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=292): time 0.03237/1.423, allocations: 15.39 MB / 0.8752 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/1.423, allocations: 158.5 kB / 0.8753 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006678/1.43, allocations: 4.256 MB / 0.8795 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005189/1.43, allocations: 25.7 kB / 0.8795 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003568/1.434, allocations: 5.007 MB / 0.8844 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001473/1.435, allocations: 1.079 MB / 0.8854 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/1.436, allocations: 0 / 0.8854 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005625/1.436, allocations: 0.7028 MB / 0.8861 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003639/1.44, allocations: 2.299 MB / 0.8884 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00848/1.448, allocations: 7.944 MB / 0.8961 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3349/1.783, allocations: 4.229 MB / 0.9003 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002556/1.783, allocations: 58.28 kB / 0.9003 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1226) (initialization): time 0.02353/1.807, allocations: 9.012 MB / 0.9091 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/1.807, allocations: 91.12 kB / 0.9092 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003774/1.808, allocations: 203.3 kB / 0.9094 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/1.808, allocations: 298.2 kB / 0.9097 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00878/1.817, allocations: 2.283 MB / 0.9119 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000555/1.817, allocations: 399 kB / 0.9123 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007693/1.825, allocations: 404.2 kB / 0.9127 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002231/1.827, allocations: 0.5521 MB / 0.9132 GB, free: 112.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * 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 (1202): * Single equations (assignments): 1199 * 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.00247/1.83, allocations: 0.6214 MB / 0.9138 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.831, allocations: 474.2 kB / 0.9143 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/1.836, allocations: 2.502 MB / 0.9167 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-05/1.836, allocations: 29.31 kB / 0.9167 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/1.836, allocations: 7.469 kB / 0.9168 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.8e-05/1.836, allocations: 17.25 kB / 0.9168 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/1.857, allocations: 10.5 MB / 0.927 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/1.857, allocations: 30.91 kB / 0.9271 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.859, allocations: 0.5205 MB / 0.9276 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.765e-05/1.859, allocations: 43.56 kB / 0.9276 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/1.859, allocations: 55.81 kB / 0.9277 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.048e-05/1.859, allocations: 60.91 kB / 0.9277 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.233e-05/1.859, allocations: 50.62 kB / 0.9278 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006103/1.866, allocations: 9.424 MB / 0.937 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/1.867, allocations: 0.5211 MB / 0.9375 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005126/1.868, allocations: 53.89 kB / 0.9375 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.87, allocations: 140.4 kB / 0.9377 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/1.87, allocations: 259.8 kB / 0.9379 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.87, allocations: 119.7 kB / 0.938 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004826/1.875, allocations: 2.76 MB / 0.9407 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.875, allocations: 0 / 0.9407 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008549/1.884, allocations: 1.248 MB / 0.9419 GB, free: 102.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 137 * 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 (270): * Single equations (assignments): 267 * 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.000684/1.884, allocations: 224.6 kB / 0.9421 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009002/1.893, allocations: 5.291 MB / 0.9473 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-05/1.893, allocations: 11.22 kB / 0.9473 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/1.895, allocations: 1.218 MB / 0.9485 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003562/1.899, allocations: 0.5533 MB / 0.9491 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0258/1.925, allocations: 11.8 MB / 0.9606 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01088/1.936, allocations: 5.003 MB / 0.9655 GB, free: 94.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007953/1.944, allocations: 2.655 MB / 0.9681 GB, free: 94.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.945, allocations: 352.2 kB / 0.9684 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.343e-06/1.945, allocations: 2.078 kB / 0.9684 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.07394/2.019, allocations: 37.08 MB / 1.005 GB, free: 79.89 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