Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 179.6 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009138/0.0009139, allocations: 85.44 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.000362, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2594, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001641/0.2611, allocations: 1.351 MB / 376.4 MB, free: 44.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008181/0.262, allocations: 0.4965 MB / 376.9 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.2621, allocations: 5.094 kB / 376.9 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.2622, allocations: 9.016 kB / 376.9 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.2623, allocations: 17.97 kB / 377 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.2625, allocations: 37.09 kB / 377 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.2626, allocations: 100.2 kB / 377.1 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2628, allocations: 31.06 kB / 377.1 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.923e-05/0.2628, allocations: 36.2 kB / 377.2 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.2629, allocations: 42.62 kB / 377.2 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.263, allocations: 3.469 kB / 377.2 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.716e-05/0.263, allocations: 3.375 kB / 377.2 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.263, allocations: 19.42 kB / 377.2 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.2631, allocations: 62.55 kB / 377.3 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.641e-05/0.2632, allocations: 64.17 kB / 377.4 MB, free: 43.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2632, allocations: 0 / 377.4 MB, free: 43.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2632, allocations: 1.344 kB / 377.4 MB, free: 43.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2632, allocations: 0 / 377.4 MB, free: 43.65 MB / 298.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.0004789/0.2637, allocations: 424.2 kB / 377.8 MB, free: 43.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.2637, allocations: 8.812 kB / 377.8 MB, free: 43.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.2638, allocations: 15.03 kB / 377.8 MB, free: 43.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.264, allocations: 204.9 kB / 378 MB, free: 43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.264, allocations: 12.53 kB / 378 MB, free: 42.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.2641, allocations: 19.22 kB / 378 MB, free: 42.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.2643, allocations: 137.2 kB / 378.2 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2644, allocations: 4 kB / 378.2 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2644, allocations: 5.375 kB / 378.2 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2644, allocations: 2.625 kB / 378.2 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.2646, allocations: 85.19 kB / 378.3 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.2652, allocations: 0.5523 MB / 378.8 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.2655, allocations: 152.5 kB / 379 MB, free: 42.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.2657, allocations: 67.38 kB / 379 MB, free: 42.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.2658, allocations: 1.25 kB / 379 MB, free: 42.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.2658, allocations: 39.56 kB / 379.1 MB, free: 42.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.2658, allocations: 1.031 kB / 379.1 MB, free: 42.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001081/0.2669, allocations: 0.5553 MB / 379.6 MB, free: 41.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.2669, allocations: 52.5 kB / 379.7 MB, free: 41.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.267, allocations: 155.9 kB / 379.8 MB, free: 41.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.267, allocations: 30.83 kB / 379.8 MB, free: 41.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.2671, allocations: 109.6 kB / 380 MB, free: 41.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.2671, allocations: 51.69 kB / 380 MB, free: 41.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.2671, allocations: 1.094 kB / 380 MB, free: 41.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.2672, allocations: 325.8 kB / 380.3 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.2674, allocations: 66.08 kB / 380.4 MB, free: 41.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.2675, allocations: 89.45 kB / 380.5 MB, free: 40.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.2678, allocations: 158.4 kB / 380.6 MB, free: 40.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2678, allocations: 1.562 kB / 380.6 MB, free: 40.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000356/0.2682, allocations: 194 kB / 380.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2682, allocations: 6.031 kB / 380.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2682, allocations: 5.125 kB / 380.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2683, allocations: 5.25 kB / 380.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.2684, allocations: 48.38 kB / 380.9 MB, free: 40.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2685, allocations: 2 kB / 380.9 MB, free: 40.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.2685, allocations: 17.11 kB / 380.9 MB, free: 40.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2686, allocations: 3.688 kB / 380.9 MB, free: 40.75 MB / 298.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 6.998e-05/0.2686, allocations: 131.5 kB / 381 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.2687, allocations: 12.59 kB / 381 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.2687, allocations: 19.31 kB / 381.1 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2687, allocations: 1.969 kB / 381.1 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2687, allocations: 0 / 381.1 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2687, allocations: 5.109 kB / 381.1 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006737/0.2694, allocations: 0.5168 MB / 381.6 MB, free: 40.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2694, allocations: 0 / 381.6 MB, free: 40.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.2696, allocations: 34.48 kB / 381.6 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2696, allocations: 5.406 kB / 381.6 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.2696, allocations: 9.141 kB / 381.6 MB, free: 40.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2696, allocations: 1.406 kB / 381.6 MB, free: 40.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2696, allocations: 1.344 kB / 381.6 MB, free: 40.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.2702, allocations: 357.2 kB / 382 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.2703, allocations: 87.52 kB / 382.1 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.2703, allocations: 2.531 kB / 382.1 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2704, allocations: 20.06 kB / 382.1 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.2704, allocations: 8.922 kB / 382.1 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.2705, allocations: 10.98 kB / 382.1 MB, free: 39.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.232e-05/0.2705, allocations: 115.5 kB / 382.2 MB, free: 39.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2705, allocations: 0 / 382.2 MB, free: 39.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.2708, allocations: 20.66 kB / 382.2 MB, free: 39.67 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 8.891e-05/0.2709, allocations: 104.9 kB / 382.4 MB, free: 39.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003694/0.2712, allocations: 140.6 kB / 382.5 MB, free: 39.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2713, allocations: 3.938 kB / 382.5 MB, free: 39.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.2714, allocations: 81.02 kB / 382.6 MB, free: 39.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.2718, allocations: 34.81 kB / 382.6 MB, free: 39.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/0.2725, allocations: 410.3 kB / 383 MB, free: 39.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.2726, allocations: 0.7104 MB / 383.7 MB, free: 38.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.2727, allocations: 15.06 kB / 383.7 MB, free: 38.42 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2727, allocations: 0 / 383.7 MB, free: 38.42 MB / 298.7 MB Notification: Performance of Templates: time 0.003455/0.2761, allocations: 1.679 MB / 385.4 MB, free: 37.57 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches