Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.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) 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(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.002262/0.002262, allocations: 196.4 kB / 8.54 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009191/0.0009191, allocations: 97.81 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.972e-06, allocations: 0 / 343.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09719/0.09721, allocations: 51.48 MB / 394.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2408/0.338, allocations: 77.32 MB / 471.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.3383, allocations: 66.66 kB / 472 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.006134/0.3444, allocations: 2.173 MB / 474.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.3445, allocations: 4 kB / 474.2 MB, free: 13.05 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.0003736/0.3449, allocations: 403.6 kB / 474.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3449, allocations: 12.03 kB / 474.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.345, allocations: 11.91 kB / 474.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.3452, allocations: 214.3 kB / 474.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3452, allocations: 7.625 kB / 474.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.3452, allocations: 7.375 kB / 474.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.246e-05/0.3453, allocations: 34.44 kB / 474.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3454, allocations: 96.27 kB / 474.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3455, allocations: 3.906 kB / 474.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3455, allocations: 4 kB / 474.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3455, allocations: 4 kB / 475 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.346, allocations: 0.5153 MB / 475.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.3461, allocations: 47.97 kB / 475.5 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.3462, allocations: 31.48 kB / 475.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.3462, allocations: 160 / 475.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.3462, allocations: 38.66 kB / 475.6 MB, free: 11.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.3462, allocations: 3.938 kB / 475.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004596/0.3467, allocations: 338.6 kB / 475.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.3467, allocations: 51.41 kB / 476 MB, free: 11.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.3468, allocations: 127.2 kB / 476.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.3468, allocations: 29.14 kB / 476.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.3469, allocations: 99.03 kB / 476.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.3469, allocations: 38.11 kB / 476.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.3469, allocations: 0 / 476.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.3469, allocations: 328 kB / 476.6 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/0.347, allocations: 22.88 kB / 476.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-05/0.347, allocations: 57.23 kB / 476.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.3471, allocations: 25.06 kB / 476.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3471, allocations: 4 kB / 476.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001368/0.3472, allocations: 113.7 kB / 476.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3473, allocations: 4 kB / 476.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3473, allocations: 0 / 476.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3473, allocations: 4 kB / 476.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.3475, allocations: 34.33 kB / 476.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3475, allocations: 12.03 kB / 476.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/0.3476, allocations: 19.28 kB / 476.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3476, allocations: 7.125 kB / 476.9 MB, free: 10.43 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 4.847e-05/0.3476, allocations: 104.4 kB / 477 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.3477, allocations: 11.91 kB / 477 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.3477, allocations: 19.59 kB / 477 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3477, allocations: 7.984 kB / 477 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3477, allocations: 0 / 477 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3477, allocations: 3.094 kB / 477 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.3481, allocations: 378.2 kB / 477.4 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3481, allocations: 3.328 kB / 477.4 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.3483, allocations: 35.02 kB / 477.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3483, allocations: 0 / 477.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3483, allocations: 7.406 kB / 477.4 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3483, allocations: 5.781 kB / 477.4 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3483, allocations: 0 / 477.4 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001836/0.3485, allocations: 239.1 kB / 477.7 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.3485, allocations: 84.92 kB / 477.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.3486, allocations: 4 kB / 477.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3487, allocations: 19.42 kB / 477.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.3488, allocations: 10.61 kB / 477.8 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.3488, allocations: 448 / 477.8 MB, free: 9.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.702e-05/0.3489, allocations: 111.1 kB / 477.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.3491, allocations: 20 kB / 477.9 MB, free: 9.453 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.0001113/0.3492, allocations: 101.5 kB / 478 MB, free: 9.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.3493, allocations: 70.94 kB / 478.1 MB, free: 9.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3494, allocations: 0 / 478.1 MB, free: 9.297 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.111e-05/0.3494, allocations: 38.75 kB / 478.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.3497, allocations: 33.34 kB / 478.2 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.3501, allocations: 187.7 kB / 478.3 MB, free: 9.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.3503, allocations: 0.7243 MB / 479.1 MB, free: 8.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3503, allocations: 0 / 479.1 MB, free: 8.34 MB / 346.7 MB Notification: Performance of Templates: time 0.003232/0.3535, allocations: 1.335 MB / 480.4 MB, free: 7.609 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches