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.0008636/0.0008638, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.000931/0.000931, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.237/1.237, allocations: 223.3 MB / 242.3 MB, free: 14.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002146/0.0002146, allocations: 7.938 kB / 302.1 MB, free: 5.922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07326/0.07349, allocations: 50.41 MB / 352.5 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001487/0.07501, allocations: 1.382 MB / 353.9 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006351/0.07566, allocations: 482.8 kB / 354.3 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.07574, allocations: 4 kB / 354.3 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.771e-05/0.07582, allocations: 11.88 kB / 354.3 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.0759, allocations: 19.84 kB / 354.4 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.07603, allocations: 35.97 kB / 354.4 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.07619, allocations: 127.5 kB / 354.5 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.07629, allocations: 17.12 kB / 354.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.07635, allocations: 35.84 kB / 354.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.07643, allocations: 47.66 kB / 354.6 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.07646, allocations: 4 kB / 354.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.07647, allocations: 4 kB / 354.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.0765, allocations: 15.92 kB / 354.6 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.07655, allocations: 61.44 kB / 354.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.2e-05/0.07664, allocations: 72.03 kB / 354.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.07665, allocations: 0 / 354.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.07666, allocations: 0 / 354.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.07667, allocations: 3.938 kB / 354.8 MB, free: 1.16 MB / 286.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.0004561/0.07713, allocations: 423 kB / 355.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.07717, allocations: 12.03 kB / 355.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.07721, allocations: 8.844 kB / 355.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.0774, allocations: 215.8 kB / 355.4 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.07742, allocations: 11.94 kB / 355.4 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.07745, allocations: 12 kB / 355.5 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.07773, allocations: 142.9 kB / 355.6 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.07775, allocations: 4 kB / 355.6 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.07777, allocations: 0 / 355.6 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.07778, allocations: 4 kB / 355.6 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.07799, allocations: 79.88 kB / 355.7 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.07861, allocations: 0.5516 MB / 356.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.07899, allocations: 158.4 kB / 356.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.07916, allocations: 64.83 kB / 356.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.07918, allocations: 3.984 kB / 356.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.0792, allocations: 38.56 kB / 356.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.07921, allocations: 0 / 356.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0011/0.08031, allocations: 0.5642 MB / 357.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.08035, allocations: 63.34 kB / 357.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.08047, allocations: 161.4 kB / 357.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.08049, allocations: 25.7 kB / 357.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.08055, allocations: 108 kB / 357.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.08059, allocations: 43.36 kB / 357.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.08063, allocations: 21.72 kB / 357.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.08071, allocations: 318.8 kB / 357.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.08088, allocations: 67.95 kB / 357.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.08106, allocations: 91.39 kB / 357.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.08139, allocations: 154.7 kB / 358.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.0814, allocations: 0 / 358.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003976/0.0818, allocations: 205.2 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.08182, allocations: 4 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.08183, allocations: 0 / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.08185, allocations: 4.094 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.08202, allocations: 47.97 kB / 358.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.08203, allocations: 0 / 358.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.859e-05/0.08212, allocations: 19.98 kB / 358.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.08214, allocations: 4 kB / 358.4 MB, free: 13.28 MB / 302.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 7.978e-05/0.08222, allocations: 125.8 kB / 358.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.08226, allocations: 11.84 kB / 358.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.08231, allocations: 20.7 kB / 358.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.08231, allocations: 3.938 kB / 358.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.08232, allocations: 0 / 358.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.08233, allocations: 0 / 358.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007626/0.0831, allocations: 0.5281 MB / 359 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.08311, allocations: 0 / 359 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.08328, allocations: 43.97 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.0833, allocations: 4 kB / 359.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.08331, allocations: 8 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.08332, allocations: 4 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.08333, allocations: 3.938 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.08389, allocations: 352.5 kB / 359.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.08395, allocations: 92.95 kB / 359.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.08397, allocations: 0 / 359.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.08409, allocations: 15.98 kB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.08414, allocations: 19.92 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.08416, allocations: 11.94 kB / 359.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.08424, allocations: 117.5 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08424, allocations: 0 / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.0845, allocations: 20 kB / 359.7 MB, free: 11.8 MB / 302.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 7.294e-05/0.08458, allocations: 95.19 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.08494, allocations: 147.8 kB / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.08496, allocations: 0 / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.08515, allocations: 84.14 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.08556, allocations: 42.47 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.08612, allocations: 411.5 kB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.08634, allocations: 0.7087 MB / 361.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.08639, allocations: 15.44 kB / 361.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.08639, allocations: 0 / 361.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of Templates: time 0.002875/0.08927, allocations: 1.664 MB / 362.9 MB, free: 8.582 MB / 302.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/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_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches