Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001314/0.001314, allocations: 109.9 kB / 21.93 MB, free: 5.223 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.001401/0.001401, allocations: 214 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 58.52 kB / 348.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2523, allocations: 49.16 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002776/0.2551, allocations: 1.628 MB / 399.2 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.256, allocations: 0.51 MB / 399.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.029e-05/0.2561, allocations: 2.375 kB / 399.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.2562, allocations: 14.62 kB / 399.7 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.266e-05/0.2563, allocations: 27.05 kB / 399.8 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.2564, allocations: 51.91 kB / 399.8 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.2566, allocations: 114.5 kB / 399.9 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2567, allocations: 17.31 kB / 400 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.2568, allocations: 46.91 kB / 400 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.2569, allocations: 48.58 kB / 400 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.2569, allocations: 6.875 kB / 400.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.2569, allocations: 7.688 kB / 400.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.2569, allocations: 17.5 kB / 400.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.257, allocations: 41.72 kB / 400.1 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.2571, allocations: 100.1 kB / 400.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2571, allocations: 0 / 400.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2571, allocations: 3.938 kB / 400.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2571, allocations: 0 / 400.2 MB, free: 7.684 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.0004803/0.2576, allocations: 363.5 kB / 400.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2577, allocations: 13.23 kB / 400.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.2577, allocations: 14.91 kB / 400.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.2579, allocations: 155.8 kB / 400.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.258, allocations: 4.875 kB / 400.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.258, allocations: 13.97 kB / 400.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.2583, allocations: 132.3 kB / 400.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.2583, allocations: 4.75 kB / 400.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2583, allocations: 1.469 kB / 400.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2583, allocations: 2.656 kB / 400.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.2585, allocations: 68.31 kB / 401 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.2591, allocations: 489.7 kB / 401.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.2594, allocations: 125.1 kB / 401.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.2596, allocations: 53.03 kB / 401.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.2596, allocations: 5.281 kB / 401.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.2596, allocations: 44.47 kB / 401.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.2596, allocations: 1.469 kB / 401.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001025/0.2606, allocations: 441.8 kB / 402.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.2606, allocations: 62.08 kB / 402.2 MB, free: 6.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.2608, allocations: 165 kB / 402.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.2608, allocations: 26.8 kB / 402.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.2608, allocations: 113.7 kB / 402.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.2609, allocations: 44.98 kB / 402.5 MB, free: 5.934 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.2609, allocations: 34.67 kB / 402.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.261, allocations: 322.1 kB / 402.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.2611, allocations: 50.98 kB / 402.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.2613, allocations: 79.41 kB / 403 MB, free: 5.535 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.2616, allocations: 134.5 kB / 403.1 MB, free: 5.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2616, allocations: 3.938 kB / 403.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003638/0.2619, allocations: 179.4 kB / 403.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.262, allocations: 7.312 kB / 403.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.262, allocations: 0 / 403.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.262, allocations: 6.656 kB / 403.3 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.2621, allocations: 39.67 kB / 403.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2622, allocations: 1.062 kB / 403.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.378e-05/0.2622, allocations: 15.66 kB / 403.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.2622, allocations: 9.094 kB / 403.4 MB, free: 5.371 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 6.736e-05/0.2623, allocations: 124.4 kB / 403.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.2623, allocations: 13.3 kB / 403.5 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.2624, allocations: 16.75 kB / 403.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2624, allocations: 5.969 kB / 403.5 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2624, allocations: 0 / 403.5 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2624, allocations: 0.9844 kB / 403.5 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.2631, allocations: 431 kB / 404 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2631, allocations: 1.375 kB / 404 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.2632, allocations: 30.72 kB / 404 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2632, allocations: 2.75 kB / 404 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2633, allocations: 5.156 kB / 404 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2633, allocations: 8.438 kB / 404 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2633, allocations: 5.156 kB / 404 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.2638, allocations: 314.2 kB / 404.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.2638, allocations: 16.28 kB / 404.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.2638, allocations: 2.922 kB / 404.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2639, allocations: 19.34 kB / 404.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.264, allocations: 13.91 kB / 404.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-06/0.264, allocations: 7.406 kB / 404.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.432e-05/0.2641, allocations: 110.4 kB / 404.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2641, allocations: 0 / 404.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000258/0.2643, allocations: 20.94 kB / 404.5 MB, free: 4.59 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 7.129e-05/0.2644, allocations: 99.39 kB / 404.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.2648, allocations: 131.3 kB / 404.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2648, allocations: 96 / 404.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.2649, allocations: 65.23 kB / 404.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.2653, allocations: 42.03 kB / 404.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/0.2659, allocations: 355.4 kB / 405.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.454e-05/0.266, allocations: 96.38 kB / 405.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.266, allocations: 15.94 kB / 405.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.266, allocations: 0 / 405.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of Templates: time 0.003894/0.2699, allocations: 1.751 MB / 407 MB, free: 3.91 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.1840752037242055]