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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 179.5 kB / 8.519 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 221.4 MB / 230.3 MB, free: 7.672 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.0009375/0.0009377, allocations: 99.91 kB / 281.2 MB, free: 5.461 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.1662/0.1662, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.424e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 61.91 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.4422, allocations: 108.5 MB / 0.6001 GB, free: 4.305 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.4425, allocations: 71.97 kB / 0.6002 GB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5173/0.9597, allocations: 135.8 MB / 0.7328 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003336/0.9601, allocations: 141.5 kB / 0.733 GB, free: 105.8 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.01644/0.9766, allocations: 6.269 MB / 0.7391 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.9766, allocations: 7.062 kB / 0.7391 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/0.9904, allocations: 2.974 MB / 0.742 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01672/1.007, allocations: 7.149 MB / 0.749 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004731/1.008, allocations: 250.3 kB / 0.7492 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003229/1.011, allocations: 454 kB / 0.7496 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01953/1.03, allocations: 11.1 MB / 0.7605 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03779/1.068, allocations: 16.15 MB / 0.7762 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007976/1.069, allocations: 89.72 kB / 0.7763 GB, free: 91.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003562/1.073, allocations: 46.53 kB / 0.7764 GB, free: 91.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003636/1.076, allocations: 1.923 MB / 0.7783 GB, free: 91.26 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08145/1.158, allocations: 76.07 MB / 0.8525 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/1.161, allocations: 2.734 MB / 0.8552 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/1.164, allocations: 1.913 MB / 0.8571 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/1.176, allocations: 8.512 MB / 0.8654 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.177, allocations: 56.56 kB / 0.8655 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=254): time 6.713e-06/1.177, allocations: 0 / 0.8655 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of matching and sorting (n=280): time 0.03455/1.211, allocations: 15.27 MB / 0.8804 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/1.211, allocations: 158.5 kB / 0.8805 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006592/1.218, allocations: 4.31 MB / 0.8847 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004976/1.218, allocations: 25.98 kB / 0.8847 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003495/1.222, allocations: 4.729 MB / 0.8894 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/1.223, allocations: 1.049 MB / 0.8904 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005055/1.224, allocations: 3.938 kB / 0.8904 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006149/1.224, allocations: 0.7026 MB / 0.8911 GB, free: 11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003666/1.228, allocations: 2.346 MB / 0.8934 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.173/1.401, allocations: 7.983 MB / 0.9012 GB, free: 171.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005615/1.407, allocations: 4.329 MB / 0.9054 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-05/1.407, allocations: 60.06 kB / 0.9055 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1214) (initialization): time 0.01288/1.42, allocations: 9.008 MB / 0.9142 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.42, allocations: 6.438 kB / 0.9143 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/1.42, allocations: 204.1 kB / 0.9145 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/1.42, allocations: 295.8 kB / 0.9147 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006526/1.427, allocations: 2.26 MB / 0.9169 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000224/1.427, allocations: 396 kB / 0.9173 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006204/1.433, allocations: 377 kB / 0.9177 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007183/1.434, allocations: 0.5456 MB / 0.9182 GB, free: 170.9 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 (1190): * Single equations (assignments): 1187 * 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.0009006/1.435, allocations: 0.616 MB / 0.9188 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000582/1.435, allocations: 469.6 kB / 0.9193 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/1.439, allocations: 2.546 MB / 0.9217 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.109e-05/1.439, allocations: 24.28 kB / 0.9218 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.439, allocations: 6.781 kB / 0.9218 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/1.439, allocations: 12.52 kB / 0.9218 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.453, allocations: 9.825 MB / 0.9314 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-05/1.453, allocations: 30.16 kB / 0.9314 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/1.455, allocations: 0.502 MB / 0.9319 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.21e-05/1.455, allocations: 45.97 kB / 0.9319 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/1.455, allocations: 54.5 kB / 0.932 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.533e-05/1.456, allocations: 59.56 kB / 0.9321 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.416e-05/1.456, allocations: 44.56 kB / 0.9321 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005353/1.461, allocations: 9.156 MB / 0.941 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008998/1.462, allocations: 0.5178 MB / 0.9415 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005128/1.462, allocations: 47.19 kB / 0.9416 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.464, allocations: 135.1 kB / 0.9417 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/1.465, allocations: 219.9 kB / 0.9419 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/1.465, allocations: 112.2 kB / 0.942 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00378/1.469, allocations: 2.821 MB / 0.9448 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007346/1.476, allocations: 1.231 MB / 0.946 GB, free: 161.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 131 * 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 (258): * Single equations (assignments): 255 * 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.0005586/1.476, allocations: 228.7 kB / 0.9462 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007314/1.484, allocations: 5.385 MB / 0.9515 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/1.484, allocations: 3.656 kB / 0.9515 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/1.485, allocations: 1.218 MB / 0.9527 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/1.488, allocations: 0.5283 MB / 0.9532 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.507, allocations: 11.81 MB / 0.9647 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007265/1.515, allocations: 5.417 MB / 0.97 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/1.515, allocations: 0 / 0.97 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.07885/1.594, allocations: 42.12 MB / 1.011 GB, free: 131.2 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