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.002046/0.002046, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002396/0.002396, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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.479/1.479, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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 1.883e-06/1.883e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.592e-05/3.78e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003464/0.003501, allocations: 1.637 MB / 268.9 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.004644, allocations: 486.6 kB / 269.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.004776, allocations: 7.938 kB / 269.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.004916, allocations: 11.86 kB / 269.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.005037, allocations: 31.72 kB / 269.5 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.005287, allocations: 55.81 kB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.005555, allocations: 115.6 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.005682, allocations: 25.28 kB / 269.7 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.005821, allocations: 59.83 kB / 269.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.005924, allocations: 35.83 kB / 269.8 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.005951, allocations: 8 kB / 269.8 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.005972, allocations: 8 kB / 269.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.006006, allocations: 15.92 kB / 269.8 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.006063, allocations: 35.84 kB / 269.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.006266, allocations: 95.62 kB / 269.9 MB, free: 4.117 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.006269, allocations: 0 / 269.9 MB, free: 4.117 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00627, allocations: 0 / 269.9 MB, free: 4.117 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.006275, allocations: 4 kB / 269.9 MB, free: 4.113 MB / 250.7 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.0007101/0.006985, allocations: 349.8 kB / 270.3 MB, free: 3.742 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.007031, allocations: 12.86 kB / 270.3 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.007106, allocations: 20.84 kB / 270.3 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.007443, allocations: 169.4 kB / 270.5 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.007467, allocations: 8.375 kB / 270.5 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.007514, allocations: 15.94 kB / 270.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.007846, allocations: 132.2 kB / 270.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.00786, allocations: 0 / 270.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.007877, allocations: 4 kB / 270.6 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.007886, allocations: 4 kB / 270.6 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.008112, allocations: 63.89 kB / 270.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000925/0.009037, allocations: 488.6 kB / 271.2 MB, free: 2.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.009432, allocations: 126.4 kB / 271.3 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.009597, allocations: 56.81 kB / 271.3 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.009618, allocations: 4 kB / 271.3 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.009656, allocations: 34.56 kB / 271.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.009657, allocations: 0 / 271.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.001331/0.01099, allocations: 452.8 kB / 271.8 MB, free: 2.055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.01104, allocations: 55.41 kB / 271.9 MB, free: 1.988 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.01122, allocations: 157.5 kB / 272 MB, free: 1.828 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.01125, allocations: 29.64 kB / 272.1 MB, free: 1.793 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01135, allocations: 112 kB / 272.2 MB, free: 1.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.0114, allocations: 47.58 kB / 272.2 MB, free: 1.633 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.01148, allocations: 33.7 kB / 272.2 MB, free: 1.594 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.01166, allocations: 326.8 kB / 272.6 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.01182, allocations: 43.97 kB / 272.6 MB, free: 1.223 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.012, allocations: 87.31 kB / 272.7 MB, free: 1.125 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.01233, allocations: 131.4 kB / 272.8 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01233, allocations: 0 / 272.8 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004307/0.01276, allocations: 185.4 kB / 273 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.01279, allocations: 6.812 kB / 273 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.0128, allocations: 7.984 kB / 273 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.01282, allocations: 3.938 kB / 273 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.013, allocations: 31.98 kB / 273.1 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.01301, allocations: 12.03 kB / 273.1 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.0131, allocations: 15.98 kB / 273.1 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.01311, allocations: 4 kB / 273.1 MB, free: 0.7188 MB / 250.7 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.0001235/0.01324, allocations: 125.8 kB / 273.2 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.01328, allocations: 15.95 kB / 273.2 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.01333, allocations: 16.78 kB / 273.2 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01334, allocations: 3.938 kB / 273.2 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.01334, allocations: 0 / 273.2 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01335, allocations: 0 / 273.2 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/0.01418, allocations: 435.6 kB / 273.7 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.01419, allocations: 0 / 273.7 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.01436, allocations: 35.91 kB / 273.7 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.01436, allocations: 4 kB / 273.7 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.01437, allocations: 4.062 kB / 273.7 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.01438, allocations: 4 kB / 273.7 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01438, allocations: 0 / 273.7 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.0151, allocations: 328.9 kB / 274 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.01513, allocations: 7.953 kB / 274 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.01516, allocations: 8 kB / 274 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.01527, allocations: 12.03 kB / 274.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.01536, allocations: 11.98 kB / 274.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.01537, allocations: 4 kB / 274.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.01549, allocations: 115.2 kB / 274.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01549, allocations: 0 / 274.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.01579, allocations: 20 kB / 274.2 MB, free: 15.51 MB / 266.7 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.0001396/0.01593, allocations: 95.25 kB / 274.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.01633, allocations: 131.7 kB / 274.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01633, allocations: 0 / 274.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.01651, allocations: 63.89 kB / 274.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.01698, allocations: 44.22 kB / 274.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.01776, allocations: 311.8 kB / 274.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.01788, allocations: 94.77 kB / 274.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.754e-05/0.01795, allocations: 21.48 kB / 275 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.018, allocations: 20.5 kB / 275 MB, free: 14.68 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.018, allocations: 0 / 275 MB, free: 14.68 MB / 266.7 MB Notification: Performance of Templates: time 0.005758/0.02376, allocations: 1.887 MB / 276.9 MB, free: 12.84 MB / 266.7 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 -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.47922583995387]