Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.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.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") [: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.0009568/0.0009569, allocations: 188.1 kB / 8.139 MB, free: 2.215 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.16/1.16, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.0009253/0.0009252, allocations: 102.5 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.943e-06, allocations: 4 kB / 336.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1869, allocations: 50.4 MB / 386.9 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0836/0.2706, allocations: 76.5 MB / 463.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.2708, allocations: 63.97 kB / 463.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.006434/0.2772, allocations: 2.112 MB / 465.6 MB, free: 8.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.2773, allocations: 4 kB / 465.6 MB, free: 8.164 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004317/0.2777, allocations: 410.1 kB / 466 MB, free: 7.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2778, allocations: 12.03 kB / 466 MB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.2778, allocations: 15.81 kB / 466 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.278, allocations: 211.3 kB / 466.2 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2781, allocations: 7.984 kB / 466.2 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.2781, allocations: 8 kB / 466.2 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.189e-05/0.2782, allocations: 39.89 kB / 466.3 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.2784, allocations: 92.25 kB / 466.4 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.2784, allocations: 7.891 kB / 466.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2784, allocations: 1.188 kB / 466.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2784, allocations: 8 kB / 466.4 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.279, allocations: 0.5057 MB / 466.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.779e-05/0.2791, allocations: 62.67 kB / 466.9 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.2792, allocations: 24.86 kB / 467 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.2792, allocations: 0 / 467 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2793, allocations: 38.66 kB / 467 MB, free: 6.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.2793, allocations: 0 / 467 MB, free: 6.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005799/0.2798, allocations: 332.1 kB / 467.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.2799, allocations: 55.34 kB / 467.4 MB, free: 6.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.28, allocations: 141.6 kB / 467.5 MB, free: 5.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2801, allocations: 29.7 kB / 467.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.2801, allocations: 100.2 kB / 467.7 MB, free: 5.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.2802, allocations: 35.45 kB / 467.7 MB, free: 5.816 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.2802, allocations: 0 / 467.7 MB, free: 5.816 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2803, allocations: 322.8 kB / 468 MB, free: 5.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.887e-05/0.2804, allocations: 28 kB / 468 MB, free: 5.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.2804, allocations: 47.44 kB / 468.1 MB, free: 5.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.476e-05/0.2805, allocations: 28.73 kB / 468.1 MB, free: 5.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2805, allocations: 0 / 468.1 MB, free: 5.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001782/0.2807, allocations: 111.1 kB / 468.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2807, allocations: 8 kB / 468.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2807, allocations: 3.984 kB / 468.2 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2807, allocations: 4 kB / 468.2 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.281, allocations: 39.92 kB / 468.3 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.281, allocations: 4 kB / 468.3 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.603e-05/0.2811, allocations: 22.05 kB / 468.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2811, allocations: 7.906 kB / 468.3 MB, free: 5.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.577e-05/0.2812, allocations: 104.9 kB / 468.4 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.2812, allocations: 19.83 kB / 468.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.2813, allocations: 12.5 kB / 468.4 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.2813, allocations: 7.906 kB / 468.4 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2813, allocations: 0 / 468.4 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2813, allocations: 0 / 468.4 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.2818, allocations: 388.3 kB / 468.8 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2818, allocations: 0.5 kB / 468.8 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.282, allocations: 32.55 kB / 468.9 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.282, allocations: 3.984 kB / 468.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2821, allocations: 4 kB / 468.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2821, allocations: 4.594 kB / 468.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2821, allocations: 0 / 468.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002393/0.2823, allocations: 233.8 kB / 469.1 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.2824, allocations: 92.91 kB / 469.2 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.2824, allocations: 4.781 kB / 469.2 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.2826, allocations: 23.92 kB / 469.2 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.2826, allocations: 7.984 kB / 469.2 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.2826, allocations: 4 kB / 469.2 MB, free: 4.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.81e-05/0.2827, allocations: 107.3 kB / 469.3 MB, free: 4.047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.2829, allocations: 16 kB / 469.3 MB, free: 4.031 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (v.u,limit_a.y,positionSmoothed.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001073/0.2831, allocations: 100.8 kB / 469.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.2832, allocations: 59.94 kB / 469.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2832, allocations: 0 / 469.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.2833, allocations: 43.92 kB / 469.5 MB, free: 3.824 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.2836, allocations: 29.69 kB / 469.6 MB, free: 3.797 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.284, allocations: 197.4 kB / 469.8 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.2843, allocations: 0.7313 MB / 470.5 MB, free: 2.82 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2844, allocations: 0 / 470.5 MB, free: 2.82 MB / 346.7 MB Notification: Performance of Templates: time 0.003549/0.2879, allocations: 1.338 MB / 471.8 MB, free: 1.527 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches