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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001335, allocations: 113.1 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2678, allocations: 50.55 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002632/0.2705, allocations: 1.686 MB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008375/0.2714, allocations: 0.5065 MB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.2715, allocations: 4 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.2716, allocations: 15.8 kB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.2717, allocations: 27.73 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.2719, allocations: 51.88 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.272, allocations: 111.6 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2722, allocations: 25.11 kB / 412.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.2722, allocations: 39.83 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.836e-05/0.2723, allocations: 51.66 kB / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.2724, allocations: 12 kB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.2724, allocations: 8 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.2724, allocations: 19.92 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.2725, allocations: 47.67 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.2726, allocations: 95.23 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2726, allocations: 0 / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2726, allocations: 0 / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.2726, allocations: 4 kB / 412.6 MB, free: 14.88 MB / 334.1 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.0005737/0.2732, allocations: 424.4 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2733, allocations: 12.03 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.2733, allocations: 20.69 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.2736, allocations: 216 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2736, allocations: 8.375 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.2736, allocations: 16.12 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.2739, allocations: 130.6 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2739, allocations: 7.922 kB / 413.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.274, allocations: 8 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.274, allocations: 0 / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.2742, allocations: 63.95 kB / 413.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.2748, allocations: 0.5515 MB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.2752, allocations: 130.4 kB / 414.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.2754, allocations: 60.81 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.2754, allocations: 0 / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2754, allocations: 30.56 kB / 414.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.2754, allocations: 0 / 414.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001094/0.2765, allocations: 0.5135 MB / 414.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2766, allocations: 55.41 kB / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2767, allocations: 153.3 kB / 415 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2767, allocations: 29.7 kB / 415 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.2768, allocations: 107.9 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.2768, allocations: 47.38 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.2769, allocations: 33.7 kB / 415.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.277, allocations: 323.8 kB / 415.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.2771, allocations: 51.97 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.2773, allocations: 91.22 kB / 415.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.2776, allocations: 131.3 kB / 415.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2776, allocations: 0 / 415.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003601/0.278, allocations: 173.2 kB / 416 MB, free: 11.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.278, allocations: 12 kB / 416 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.278, allocations: 3.938 kB / 416 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.278, allocations: 3.984 kB / 416 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.2782, allocations: 35.92 kB / 416 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2782, allocations: 7.938 kB / 416 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-05/0.2783, allocations: 15.98 kB / 416 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.2783, allocations: 4 kB / 416 MB, free: 11.16 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.757e-05/0.2784, allocations: 129.8 kB / 416.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.2785, allocations: 11.81 kB / 416.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.2785, allocations: 20.66 kB / 416.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2785, allocations: 0 / 416.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2785, allocations: 4 kB / 416.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2785, allocations: 0 / 416.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007232/0.2793, allocations: 496 kB / 416.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2793, allocations: 0 / 416.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.2794, allocations: 39.91 kB / 416.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2794, allocations: 3.938 kB / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2795, allocations: 0 / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2795, allocations: 4 kB / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2795, allocations: 4.062 kB / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.28, allocations: 331.5 kB / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.2801, allocations: 85.02 kB / 417.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.2801, allocations: 4 kB / 417.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.2802, allocations: 12.03 kB / 417.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.2803, allocations: 15.98 kB / 417.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.2803, allocations: 0 / 417.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.544e-05/0.2804, allocations: 115.2 kB / 417.3 MB, free: 9.797 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2804, allocations: 0 / 417.3 MB, free: 9.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.2808, allocations: 24 kB / 417.3 MB, free: 9.773 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.76e-05/0.2809, allocations: 99.19 kB / 417.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.2813, allocations: 131.7 kB / 417.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2813, allocations: 0 / 417.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.2814, allocations: 68.09 kB / 417.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.2819, allocations: 43.23 kB / 417.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.2825, allocations: 349.9 kB / 418 MB, free: 9.055 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.2827, allocations: 0.7084 MB / 418.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.2828, allocations: 15.44 kB / 418.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2828, allocations: 0 / 418.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of Templates: time 0.003432/0.2862, allocations: 1.692 MB / 420.4 MB, free: 6.621 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches