Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.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) 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(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.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 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 175 kB / 8.476 MB, free: 1.867 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.2 MB / 214.1 MB, free: 5.074 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 82.28 kB / 262.1 MB, free: 5.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.047e-06, allocations: 4 kB / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 47.58 MB / 362.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4109/0.521, allocations: 75.34 MB / 437.9 MB, free: 10.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5213, allocations: 67.72 kB / 437.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01086/0.5322, allocations: 3.82 MB / 441.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.5323, allocations: 3.844 kB / 441.8 MB, free: 10.62 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006138/0.5329, allocations: 477.2 kB / 442.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.533, allocations: 7.562 kB / 442.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.533, allocations: 30.66 kB / 442.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.5333, allocations: 240.8 kB / 442.5 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5333, allocations: 7.688 kB / 442.5 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.5334, allocations: 14.02 kB / 442.5 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002927/0.5337, allocations: 139.4 kB / 442.7 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.534, allocations: 199.6 kB / 442.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.534, allocations: 12.64 kB / 442.9 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.534, allocations: 0 / 442.9 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.5341, allocations: 7.781 kB / 442.9 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.5351, allocations: 0.7454 MB / 443.6 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.5354, allocations: 205 kB / 443.8 MB, free: 9.422 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.5357, allocations: 121.3 kB / 443.9 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.5357, allocations: 3.875 kB / 443.9 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.5357, allocations: 34.89 kB / 444 MB, free: 9.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.5357, allocations: 0.875 kB / 444 MB, free: 9.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.00212/0.5378, allocations: 1.736 MB / 445.7 MB, free: 8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.5379, allocations: 107.5 kB / 445.8 MB, free: 7.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.5381, allocations: 143.5 kB / 446 MB, free: 7.781 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.5381, allocations: 25.7 kB / 446 MB, free: 7.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/0.5382, allocations: 130 kB / 446.1 MB, free: 7.645 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.5383, allocations: 154 kB / 446.3 MB, free: 7.543 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.5384, allocations: 0 / 446.3 MB, free: 7.543 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5385, allocations: 333.1 kB / 446.6 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.5386, allocations: 80.06 kB / 446.7 MB, free: 7.227 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.5388, allocations: 145.9 kB / 446.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.539, allocations: 108.7 kB / 446.9 MB, free: 7.152 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.539, allocations: 0 / 446.9 MB, free: 7.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004163/0.5394, allocations: 295.5 kB / 447.2 MB, free: 7.094 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5395, allocations: 3.844 kB / 447.2 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5395, allocations: 7.938 kB / 447.2 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.5395, allocations: 4.953 kB / 447.2 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.5399, allocations: 95.05 kB / 447.3 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.5399, allocations: 4.406 kB / 447.3 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.54, allocations: 0 / 447.3 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.5401, allocations: 11.53 kB / 447.3 MB, free: 7.082 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * 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 9.75e-05/0.5402, allocations: 112.8 kB / 447.4 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.5403, allocations: 32.08 kB / 447.5 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.5404, allocations: 30.14 kB / 447.5 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5404, allocations: 11.88 kB / 447.5 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.5404, allocations: 3.812 kB / 447.5 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.5404, allocations: 2.062 kB / 447.5 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.5418, allocations: 0.9647 MB / 448.5 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.5419, allocations: 8.594 kB / 448.5 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.5423, allocations: 87.48 kB / 448.6 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.5423, allocations: 11.78 kB / 448.6 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.5423, allocations: 4.625 kB / 448.6 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.5423, allocations: 8.656 kB / 448.6 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5423, allocations: 3.938 kB / 448.6 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007156/0.5431, allocations: 0.8042 MB / 449.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.5431, allocations: 105.7 kB / 449.5 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.5432, allocations: 4.5 kB / 449.5 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.5434, allocations: 0 / 449.5 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.5435, allocations: 36.14 kB / 449.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.5435, allocations: 19.52 kB / 449.6 MB, free: 5.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.37e-05/0.5436, allocations: 118.4 kB / 449.7 MB, free: 5.602 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004655/0.5441, allocations: 57.31 kB / 449.7 MB, free: 5.602 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * 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.000165/0.5442, allocations: 106.5 kB / 449.8 MB, free: 5.508 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.5446, allocations: 235.8 kB / 450.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5446, allocations: 7.188 kB / 450.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.5448, allocations: 127.1 kB / 450.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.5453, allocations: 43.86 kB / 450.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.5468, allocations: 0.7544 MB / 451 MB, free: 4.969 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.5472, allocations: 0.7959 MB / 451.8 MB, free: 4.266 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5472, allocations: 4 kB / 451.8 MB, free: 4.262 MB / 314.7 MB Notification: Performance of Templates: time 0.007173/0.5544, allocations: 2.779 MB / 454.6 MB, free: 3.391 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches