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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 156.6 kB / 24.48 MB, free: 3.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 48.27 kB / 319.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09159, allocations: 52.16 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00286/0.09445, allocations: 1.646 MB / 373.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008067/0.09526, allocations: 451 kB / 373.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.052e-05/0.09535, allocations: 7.938 kB / 373.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.09546, allocations: 11.86 kB / 373.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.525e-05/0.09555, allocations: 35.72 kB / 373.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.09573, allocations: 51.94 kB / 373.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.09591, allocations: 127.5 kB / 373.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.09602, allocations: 17.23 kB / 373.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.09608, allocations: 39.86 kB / 373.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.306e-05/0.09617, allocations: 47.66 kB / 374 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.0962, allocations: 11.98 kB / 374 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.09622, allocations: 8 kB / 374 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.09624, allocations: 15.92 kB / 374 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.0963, allocations: 39.8 kB / 374.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.09645, allocations: 95.45 kB / 374.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.09646, allocations: 0 / 374.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09646, allocations: 4 kB / 374.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.09647, allocations: 0 / 374.1 MB, free: 4.727 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.0005959/0.09707, allocations: 353.8 kB / 374.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.0971, allocations: 12.92 kB / 374.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.09715, allocations: 16.83 kB / 374.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.09741, allocations: 162.5 kB / 374.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.09743, allocations: 12 kB / 374.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.09746, allocations: 4 kB / 374.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.09775, allocations: 139.4 kB / 374.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.09776, allocations: 0 / 374.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.09778, allocations: 7.938 kB / 374.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.09778, allocations: 0 / 374.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.09798, allocations: 67.94 kB / 374.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.09863, allocations: 484.6 kB / 375.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.09901, allocations: 126.4 kB / 375.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.09916, allocations: 56.81 kB / 375.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.09917, allocations: 11.94 kB / 375.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.0992, allocations: 34.56 kB / 375.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 3.076e-06/0.0992, allocations: 3.984 kB / 375.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001119/0.1003, allocations: 444.8 kB / 376 MB, free: 2.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.1004, allocations: 55.41 kB / 376.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.1005, allocations: 153 kB / 376.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1005, allocations: 29.7 kB / 376.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.1006, allocations: 112 kB / 376.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.1006, allocations: 47.62 kB / 376.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.1007, allocations: 29.72 kB / 376.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1008, allocations: 330.8 kB / 376.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.101, allocations: 55.91 kB / 376.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.1012, allocations: 83.33 kB / 376.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.1015, allocations: 138.2 kB / 377.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1015, allocations: 0 / 377.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003975/0.1019, allocations: 177.4 kB / 377.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1019, allocations: 10.59 kB / 377.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1019, allocations: 0 / 377.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1019, allocations: 4 kB / 377.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.1021, allocations: 40.06 kB / 377.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1021, allocations: 3.938 kB / 377.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.581e-05/0.1022, allocations: 15.98 kB / 377.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.1022, allocations: 7.984 kB / 377.3 MB, free: 1.336 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.0001245/0.1023, allocations: 125.8 kB / 377.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.1024, allocations: 11.89 kB / 377.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.1024, allocations: 20.77 kB / 377.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1024, allocations: 0.9375 kB / 377.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1024, allocations: 0 / 377.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1024, allocations: 4 kB / 377.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007813/0.1032, allocations: 423.6 kB / 377.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1032, allocations: 96 / 377.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.1034, allocations: 47.91 kB / 377.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1034, allocations: 4 kB / 377.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1034, allocations: 0 / 377.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1034, allocations: 4 kB / 377.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1034, allocations: 0 / 377.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.104, allocations: 328.5 kB / 378.3 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.104, allocations: 15.98 kB / 378.3 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.104, allocations: 8 kB / 378.3 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.1042, allocations: 15.98 kB / 378.3 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1042, allocations: 11.98 kB / 378.3 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1042, allocations: 4 kB / 378.3 MB, free: 264 kB / 334.1 MB Notification: Performance of sorting global known variables: time 9.082e-05/0.1043, allocations: 111.2 kB / 378.4 MB, free: 152 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1043, allocations: 0 / 378.4 MB, free: 152 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1046, allocations: 20 kB / 378.4 MB, free: 132 kB / 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.471e-05/0.1047, allocations: 103.2 kB / 378.5 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00039/0.105, allocations: 123.9 kB / 378.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.105, allocations: 0 / 378.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.1052, allocations: 59.91 kB / 378.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1056, allocations: 36.28 kB / 378.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.1063, allocations: 332.8 kB / 379.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.1064, allocations: 102.9 kB / 379.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.529e-05/0.1064, allocations: 13.48 kB / 379.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.1065, allocations: 24.44 kB / 379.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1065, allocations: 0 / 379.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of Templates: time 0.005095/0.1116, allocations: 1.861 MB / 381.1 MB, free: 13.46 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.366228083963506]