Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001576/0.001576, allocations: 204.7 kB / 8.542 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 95.09 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1911/0.1911, allocations: 45.13 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.635e-06, allocations: 4 kB / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5308, allocations: 109.4 MB / 0.6106 GB, free: 9.695 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5311, allocations: 81.61 kB / 0.6107 GB, free: 9.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3606/0.8917, allocations: 139.6 MB / 0.7471 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005357/0.8922, allocations: 144 kB / 0.7472 GB, free: 5.758 MB / 0.5261 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.2189/1.111, allocations: 6.269 MB / 0.7534 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.111, allocations: 7.812 kB / 0.7534 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/1.126, allocations: 2.983 MB / 0.7563 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01715/1.143, allocations: 6.36 MB / 0.7625 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005816/1.144, allocations: 246.7 kB / 0.7627 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004283/1.148, allocations: 452.2 kB / 0.7632 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02107/1.169, allocations: 11.11 MB / 0.774 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03903/1.208, allocations: 16.14 MB / 0.7898 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003582/1.209, allocations: 98.17 kB / 0.7899 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002981/1.212, allocations: 46.78 kB / 0.7899 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003278/1.215, allocations: 1.919 MB / 0.7918 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07818/1.293, allocations: 76.06 MB / 0.8661 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/1.297, allocations: 2.734 MB / 0.8687 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/1.299, allocations: 1.92 MB / 0.8706 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01304/1.312, allocations: 8.51 MB / 0.8789 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.312, allocations: 64.03 kB / 0.879 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=254): time 5.17e-06/1.312, allocations: 0 / 0.879 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=280): time 0.03208/1.344, allocations: 15.28 MB / 0.8939 GB, free: 91.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/1.344, allocations: 154.5 kB / 0.894 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005396/1.35, allocations: 4.312 MB / 0.8982 GB, free: 87.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004232/1.35, allocations: 25.7 kB / 0.8983 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/1.352, allocations: 4.729 MB / 0.9029 GB, free: 83.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009704/1.353, allocations: 1.049 MB / 0.9039 GB, free: 82.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/1.354, allocations: 0 / 0.9039 GB, free: 82.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003508/1.354, allocations: 0.7006 MB / 0.9046 GB, free: 81.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/1.357, allocations: 2.349 MB / 0.9069 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/1.362, allocations: 7.98 MB / 0.9147 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004781/1.367, allocations: 4.328 MB / 0.9189 GB, free: 65.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-05/1.367, allocations: 56 kB / 0.919 GB, free: 65.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1214) (initialization): time 0.01403/1.381, allocations: 9.011 MB / 0.9278 GB, free: 57.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.381, allocations: 6.406 kB / 0.9278 GB, free: 57.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/1.381, allocations: 204 kB / 0.928 GB, free: 57.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/1.381, allocations: 300 kB / 0.9282 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007467/1.389, allocations: 2.261 MB / 0.9305 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002285/1.389, allocations: 397.1 kB / 0.9308 GB, free: 54.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007966/1.397, allocations: 371.1 kB / 0.9312 GB, free: 54.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/1.399, allocations: 0.5501 MB / 0.9317 GB, free: 53.92 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.001666/1.4, allocations: 0.624 MB / 0.9323 GB, free: 53.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.401, allocations: 462 kB / 0.9328 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/1.405, allocations: 2.558 MB / 0.9353 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.235e-05/1.405, allocations: 24 kB / 0.9353 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.405, allocations: 4 kB / 0.9353 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/1.405, allocations: 11.48 kB / 0.9353 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/1.423, allocations: 9.837 MB / 0.9449 GB, free: 42.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.952e-05/1.423, allocations: 28 kB / 0.9449 GB, free: 42.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/1.425, allocations: 0.5003 MB / 0.9454 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.089e-05/1.425, allocations: 44.38 kB / 0.9455 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/1.425, allocations: 55.56 kB / 0.9455 GB, free: 41.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.087e-05/1.425, allocations: 63.27 kB / 0.9456 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-05/1.425, allocations: 43.81 kB / 0.9456 GB, free: 41.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006628/1.432, allocations: 9.144 MB / 0.9546 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.434, allocations: 0.5125 MB / 0.9551 GB, free: 30.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000966/1.435, allocations: 50.84 kB / 0.9551 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/1.437, allocations: 130.9 kB / 0.9552 GB, free: 30.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/1.438, allocations: 220.8 kB / 0.9554 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.438, allocations: 110.8 kB / 0.9556 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004387/1.442, allocations: 2.825 MB / 0.9583 GB, free: 28.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007851/1.45, allocations: 1.238 MB / 0.9595 GB, free: 26.8 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.0005818/1.451, allocations: 229.6 kB / 0.9597 GB, free: 26.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007993/1.459, allocations: 5.374 MB / 0.965 GB, free: 21.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.233e-05/1.459, allocations: 4 kB / 0.965 GB, free: 21.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/1.46, allocations: 1.215 MB / 0.9662 GB, free: 20.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/1.464, allocations: 0.5463 MB / 0.9667 GB, free: 20.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/1.489, allocations: 11.8 MB / 0.9782 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009407/1.499, allocations: 5.414 MB / 0.9835 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of SimCode: time 1.654e-06/1.499, allocations: 0 / 0.9835 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of Templates: time 0.2882/1.787, allocations: 42.13 MB / 1.025 GB, free: 142.1 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches