Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.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) 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(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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 183.2 kB / 8.136 MB, free: 2.207 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.165/1.165, allocations: 221.4 MB / 229.9 MB, free: 3.355 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.0009913/0.0009913, allocations: 104.3 kB / 280.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.683e-06, allocations: 4 kB / 336.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2034, allocations: 50.39 MB / 386.9 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08085/0.2843, allocations: 76.57 MB / 463.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/0.2845, allocations: 64.78 kB / 463.5 MB, free: 10.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01056/0.2951, allocations: 3.949 MB / 467.5 MB, free: 6.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.932e-05/0.2951, allocations: 8 kB / 467.5 MB, free: 6.238 MB / 346.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.0005251/0.2957, allocations: 486.4 kB / 468 MB, free: 5.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.2957, allocations: 8.031 kB / 468 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.2958, allocations: 36.23 kB / 468 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.296, allocations: 227.4 kB / 468.2 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.296, allocations: 11.91 kB / 468.2 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.2961, allocations: 12 kB / 468.3 MB, free: 5.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002722/0.2963, allocations: 141 kB / 468.4 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.2966, allocations: 206.3 kB / 468.6 MB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2967, allocations: 7.906 kB / 468.6 MB, free: 5.023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.2967, allocations: 0 / 468.6 MB, free: 5.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2967, allocations: 4 kB / 468.6 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009315/0.2976, allocations: 0.7468 MB / 469.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.2979, allocations: 206.3 kB / 469.6 MB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.2982, allocations: 124.2 kB / 469.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.2982, allocations: 0 / 469.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.2982, allocations: 42.69 kB / 469.7 MB, free: 3.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 2.424e-06/0.2982, allocations: 0 / 469.7 MB, free: 3.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002051/0.3003, allocations: 1.731 MB / 471.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.3003, allocations: 106.8 kB / 471.6 MB, free: 1.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3005, allocations: 141.6 kB / 471.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3005, allocations: 33.7 kB / 471.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.3006, allocations: 128.6 kB / 471.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.318e-05/0.3007, allocations: 157.6 kB / 472 MB, free: 1.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.3007, allocations: 0 / 472 MB, free: 1.238 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3008, allocations: 338.8 kB / 472.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3009, allocations: 72.88 kB / 472.4 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3011, allocations: 141.5 kB / 472.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3013, allocations: 105.9 kB / 472.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3013, allocations: 3.906 kB / 472.7 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004204/0.3017, allocations: 286.5 kB / 472.9 MB, free: 292 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.3017, allocations: 7.938 kB / 472.9 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3018, allocations: 8.922 kB / 472.9 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3018, allocations: 8 kB / 473 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.3021, allocations: 87.91 kB / 473 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3022, allocations: 4 kB / 473 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3023, allocations: 4.5 kB / 473 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.3023, allocations: 15.94 kB / 473.1 MB, free: 156 kB / 346.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 7.988e-05/0.3024, allocations: 120.8 kB / 473.2 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.3025, allocations: 23.89 kB / 473.2 MB, free: 16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.657e-05/0.3026, allocations: 29.5 kB / 473.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3026, allocations: 12.66 kB / 473.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3026, allocations: 4 kB / 473.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3026, allocations: 3.984 kB / 473.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.3038, allocations: 0.9707 MB / 474.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3038, allocations: 4 kB / 474.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.3043, allocations: 87.89 kB / 474.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.3043, allocations: 11.91 kB / 474.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3043, allocations: 4 kB / 474.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3043, allocations: 4 kB / 474.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3043, allocations: 7.984 kB / 474.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00072/0.305, allocations: 0.8116 MB / 475.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.3051, allocations: 104.7 kB / 475.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.3052, allocations: 4 kB / 475.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.3054, allocations: 0 / 475.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.3054, allocations: 23.97 kB / 475.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.3055, allocations: 19.98 kB / 475.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.374e-05/0.3055, allocations: 116.3 kB / 475.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003901/0.3059, allocations: 63.91 kB / 475.5 MB, free: 13.52 MB / 362.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.0001276/0.3061, allocations: 103.1 kB / 475.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.3064, allocations: 232 kB / 475.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3064, allocations: 0 / 475.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.3066, allocations: 140.4 kB / 475.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.3071, allocations: 44.09 kB / 476 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.3083, allocations: 0.7452 MB / 476.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/0.3088, allocations: 0.8129 MB / 477.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3088, allocations: 4 kB / 477.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of Templates: time 0.00595/0.3148, allocations: 2.784 MB / 480.3 MB, free: 8.625 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches