Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 47.91 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2664, allocations: 53.37 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003105/0.2695, allocations: 1.655 MB / 434 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2706, allocations: 494.7 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2707, allocations: 4 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.2708, allocations: 15.81 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.834e-05/0.2709, allocations: 27.78 kB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.2711, allocations: 47.89 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.2713, allocations: 123.5 kB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.2715, allocations: 25.09 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.675e-05/0.2715, allocations: 35.86 kB / 434.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.2716, allocations: 55.64 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.2717, allocations: 8 kB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.678e-05/0.2717, allocations: 8 kB / 434.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.2717, allocations: 19.92 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.2718, allocations: 35.8 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.2719, allocations: 98.33 kB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2719, allocations: 0 / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2719, allocations: 0 / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2719, allocations: 0 / 435 MB, free: 4.051 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.0005977/0.2725, allocations: 353.7 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2726, allocations: 12.03 kB / 435.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.2726, allocations: 12.84 kB / 435.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.2729, allocations: 169.8 kB / 435.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2729, allocations: 8.328 kB / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.273, allocations: 12.12 kB / 435.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.2733, allocations: 130.8 kB / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.2733, allocations: 7.875 kB / 435.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2733, allocations: 4 kB / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2733, allocations: 4 kB / 435.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.2735, allocations: 67.94 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.2742, allocations: 484.6 kB / 436.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.2746, allocations: 130.4 kB / 436.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.2747, allocations: 52.81 kB / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.2747, allocations: 4 kB / 436.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.2747, allocations: 34.56 kB / 436.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.2747, allocations: 0 / 436.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001124/0.2759, allocations: 448.8 kB / 436.9 MB, free: 2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.2759, allocations: 55.41 kB / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.2761, allocations: 151.9 kB / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.2761, allocations: 25.7 kB / 437.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.2762, allocations: 112 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.2762, allocations: 52.52 kB / 437.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.2763, allocations: 29.72 kB / 437.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2764, allocations: 322.8 kB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.2766, allocations: 51.95 kB / 437.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.2767, allocations: 87.42 kB / 437.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.277, allocations: 142.5 kB / 437.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.277, allocations: 4 kB / 437.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003752/0.2774, allocations: 173.6 kB / 438 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2774, allocations: 10.81 kB / 438 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2774, allocations: 0 / 438 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.2774, allocations: 11.88 kB / 438.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.2776, allocations: 35.97 kB / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2776, allocations: 3.938 kB / 438.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.2777, allocations: 15.98 kB / 438.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.2777, allocations: 4 kB / 438.1 MB, free: 0.668 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 0.000108/0.2778, allocations: 121.8 kB / 438.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.2779, allocations: 15.91 kB / 438.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.2779, allocations: 20.7 kB / 438.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2779, allocations: 7.922 kB / 438.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2779, allocations: 0 / 438.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2779, allocations: 0 / 438.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007481/0.2787, allocations: 431.6 kB / 438.7 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2787, allocations: 0 / 438.7 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.2789, allocations: 35.95 kB / 438.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2789, allocations: 4 kB / 438.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2789, allocations: 4 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2789, allocations: 0 / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2789, allocations: 4 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.2794, allocations: 324.9 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.2795, allocations: 15.94 kB / 439.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.2795, allocations: 4 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2796, allocations: 15.98 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.2796, allocations: 7.984 kB / 439.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.2797, allocations: 0 / 439.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.462e-05/0.2797, allocations: 118.9 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2797, allocations: 4 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.28, allocations: 24 kB / 439.2 MB, free: 15.46 MB / 350.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.0001183/0.2801, allocations: 91.25 kB / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.2805, allocations: 123.8 kB / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2805, allocations: 4.188 kB / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.2806, allocations: 60 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.281, allocations: 47.94 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.2817, allocations: 350 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.2818, allocations: 98.84 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.2819, allocations: 19.38 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2819, allocations: 0 / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of Templates: time 0.00367/0.2855, allocations: 1.738 MB / 441.8 MB, free: 12.89 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.992766076000407]