Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.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.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001035/0.001036, allocations: 179.1 kB / 8.476 MB, free: 1.883 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.25/1.25, allocations: 205.2 MB / 214.1 MB, free: 5.461 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.0009021/0.0009021, allocations: 94.23 kB / 262.1 MB, free: 5.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/7.905e-06, allocations: 0 / 315 MB, free: 41.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08031/0.08034, allocations: 47.57 MB / 362.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/0.3228, allocations: 75.69 MB / 438.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.3231, allocations: 66.88 kB / 438.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.006062/0.3292, allocations: 2.07 MB / 440.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3292, allocations: 4 kB / 440.4 MB, free: 10.65 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000368/0.3296, allocations: 410.9 kB / 440.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3296, allocations: 11.16 kB / 440.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3297, allocations: 7.562 kB / 440.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3299, allocations: 223.9 kB / 441 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3299, allocations: 3.75 kB / 441 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.33, allocations: 3.781 kB / 441 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.967e-05/0.3301, allocations: 35.58 kB / 441 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3302, allocations: 96.47 kB / 441.1 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3302, allocations: 3.906 kB / 441.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3302, allocations: 0.5156 kB / 441.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3302, allocations: 3.812 kB / 441.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.3308, allocations: 0.5138 MB / 441.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.372e-05/0.3309, allocations: 56.64 kB / 441.7 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.3309, allocations: 23.3 kB / 441.7 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3309, allocations: 3.969 kB / 441.7 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.331, allocations: 39.27 kB / 441.8 MB, free: 9.496 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.331, allocations: 0 / 441.8 MB, free: 9.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004815/0.3315, allocations: 339.6 kB / 442.1 MB, free: 9.219 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.3315, allocations: 59.41 kB / 442.2 MB, free: 9.152 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/0.3316, allocations: 130.8 kB / 442.3 MB, free: 9.055 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3316, allocations: 25.7 kB / 442.3 MB, free: 9.023 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.3316, allocations: 106.2 kB / 442.4 MB, free: 8.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.3317, allocations: 33.31 kB / 442.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.3317, allocations: 448 / 442.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.3317, allocations: 325.7 kB / 442.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/0.3318, allocations: 22.75 kB / 442.8 MB, free: 8.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/0.3318, allocations: 62.72 kB / 442.9 MB, free: 8.551 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.572e-05/0.3319, allocations: 24.77 kB / 442.9 MB, free: 8.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3319, allocations: 3.906 kB / 442.9 MB, free: 8.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001404/0.332, allocations: 108.2 kB / 443 MB, free: 8.508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.3321, allocations: 3.906 kB / 443 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3321, allocations: 4 kB / 443 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3321, allocations: 3.844 kB / 443 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.3323, allocations: 41.84 kB / 443 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3323, allocations: 0 / 443 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.3324, allocations: 27.2 kB / 443.1 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3324, allocations: 3.688 kB / 443.1 MB, free: 8.492 MB / 314.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.688e-05/0.3324, allocations: 101.6 kB / 443.2 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.3325, allocations: 7.656 kB / 443.2 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.3325, allocations: 17.25 kB / 443.2 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3325, allocations: 11.78 kB / 443.2 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3325, allocations: 4.453 kB / 443.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3325, allocations: 0.75 kB / 443.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.3329, allocations: 390.4 kB / 443.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.333, allocations: 0 / 443.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.3331, allocations: 36.56 kB / 443.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3331, allocations: 0 / 443.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3331, allocations: 4.625 kB / 443.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3332, allocations: 0 / 443.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3332, allocations: 4.031 kB / 443.6 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001955/0.3334, allocations: 230 kB / 443.9 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.3334, allocations: 93.61 kB / 444 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.3334, allocations: 0 / 444 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.3336, allocations: 24.73 kB / 444 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.3336, allocations: 8 kB / 444 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3336, allocations: 0 / 444 MB, free: 7.809 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.015e-05/0.3337, allocations: 108.6 kB / 444.1 MB, free: 7.734 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.3339, allocations: 19.19 kB / 444.1 MB, free: 7.73 MB / 314.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.000106/0.334, allocations: 103.4 kB / 444.2 MB, free: 7.633 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.3342, allocations: 67.28 kB / 444.3 MB, free: 7.629 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3342, allocations: 0 / 444.3 MB, free: 7.629 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.291e-05/0.3342, allocations: 33.92 kB / 444.3 MB, free: 7.625 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3345, allocations: 37.83 kB / 444.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.3349, allocations: 196.6 kB / 444.5 MB, free: 7.496 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.3351, allocations: 0.7281 MB / 445.3 MB, free: 6.789 MB / 314.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3351, allocations: 0 / 445.3 MB, free: 6.789 MB / 314.7 MB Notification: Performance of Templates: time 0.003702/0.3388, allocations: 1.335 MB / 446.6 MB, free: 6.684 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches