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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001238, allocations: 112.8 kB / 17.07 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 194.8 kB / 18 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009796/0.0009796, allocations: 47.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3482, allocations: 49.42 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003/0.3513, allocations: 1.686 MB / 402.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008627/0.3521, allocations: 490.7 kB / 402.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.3523, allocations: 4 kB / 402.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.3524, allocations: 11.81 kB / 402.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.3525, allocations: 31.78 kB / 402.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.3527, allocations: 51.92 kB / 403 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.3529, allocations: 119.5 kB / 403.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.353, allocations: 25.12 kB / 403.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.3531, allocations: 43.84 kB / 403.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.3532, allocations: 47.66 kB / 403.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.3532, allocations: 8 kB / 403.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.3533, allocations: 8 kB / 403.2 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.3533, allocations: 23.91 kB / 403.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.3534, allocations: 39.73 kB / 403.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3535, allocations: 96.98 kB / 403.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3535, allocations: 0 / 403.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3536, allocations: 0 / 403.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3536, allocations: 4 kB / 403.4 MB, free: 6.188 MB / 318.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.0006869/0.3543, allocations: 429.8 kB / 403.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.3543, allocations: 12.03 kB / 403.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.159e-05/0.3544, allocations: 20.69 kB / 403.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.3548, allocations: 233.9 kB / 404.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3548, allocations: 8 kB / 404.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.3549, allocations: 8 kB / 404.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.3552, allocations: 132.2 kB / 404.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3552, allocations: 3.938 kB / 404.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.3552, allocations: 0 / 404.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3552, allocations: 4 kB / 404.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.3554, allocations: 75.92 kB / 404.3 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.3562, allocations: 0.5476 MB / 404.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.3565, allocations: 130.4 kB / 405 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.3567, allocations: 56.83 kB / 405 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.3567, allocations: 0 / 405 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3568, allocations: 42.5 kB / 405.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.3568, allocations: 0 / 405.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001145/0.3579, allocations: 0.5097 MB / 405.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.358, allocations: 55.41 kB / 405.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3581, allocations: 153.9 kB / 405.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3581, allocations: 25.7 kB / 405.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.3582, allocations: 108 kB / 405.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.3583, allocations: 51.3 kB / 405.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.3584, allocations: 25.72 kB / 406 MB, free: 3.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002894/0.3587, allocations: 330.8 kB / 406.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3588, allocations: 48.89 kB / 406.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.359, allocations: 91.23 kB / 406.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.3593, allocations: 129.7 kB / 406.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3593, allocations: 0 / 406.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003835/0.3597, allocations: 185.4 kB / 406.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3598, allocations: 6.5 kB / 406.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3598, allocations: 4 kB / 406.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3598, allocations: 0 / 406.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.36, allocations: 39.91 kB / 406.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.36, allocations: 4 kB / 406.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.174e-05/0.3601, allocations: 20.02 kB / 406.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3601, allocations: 8 kB / 406.8 MB, free: 2.445 MB / 318.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 0.0001169/0.3602, allocations: 113.8 kB / 406.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.3603, allocations: 15.75 kB / 406.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.3603, allocations: 20.7 kB / 407 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3603, allocations: 0 / 407 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3604, allocations: 0 / 407 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3604, allocations: 4 kB / 407 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008599/0.3612, allocations: 496 kB / 407.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3612, allocations: 0 / 407.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.3614, allocations: 43.91 kB / 407.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3614, allocations: 4.062 kB / 407.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3615, allocations: 4 kB / 407.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3615, allocations: 4 kB / 407.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3615, allocations: 0 / 407.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.3621, allocations: 324.8 kB / 407.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.3622, allocations: 85.02 kB / 407.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.3622, allocations: 4.031 kB / 407.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3624, allocations: 15.98 kB / 407.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.3624, allocations: 15.92 kB / 407.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3625, allocations: 4 kB / 408 MB, free: 1.199 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.271e-05/0.3625, allocations: 111.3 kB / 408.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3625, allocations: 0 / 408.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.3628, allocations: 24 kB / 408.1 MB, free: 1.066 MB / 318.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 0.0002863/0.3631, allocations: 103.7 kB / 408.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000405/0.3635, allocations: 127.9 kB / 408.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3635, allocations: 3.938 kB / 408.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.3638, allocations: 67.89 kB / 408.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.3643, allocations: 36.19 kB / 408.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/0.3652, allocations: 336.7 kB / 408.7 MB, free: 376 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.3657, allocations: 0.7084 MB / 409.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.76e-05/0.3657, allocations: 21.5 kB / 409.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.3658, allocations: 15.44 kB / 409.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3658, allocations: 0 / 409.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of Templates: time 0.00526/0.3711, allocations: 1.722 MB / 411.2 MB, free: 13.89 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches