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.001578/0.001578, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001909/0.001909, allocations: 211 kB / 23.73 MB, free: 4.523 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001529/0.001529, allocations: 55.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2459, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003314/0.2492, allocations: 1.659 MB / 433.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2503, allocations: 494.8 kB / 433.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.054e-05/0.2504, allocations: 3.938 kB / 433.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.2505, allocations: 11.88 kB / 433.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.2506, allocations: 27.78 kB / 433.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.2508, allocations: 51.88 kB / 433.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.251, allocations: 115.6 kB / 433.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2511, allocations: 21.09 kB / 433.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.2512, allocations: 51.73 kB / 434 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.2513, allocations: 47.75 kB / 434 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.2514, allocations: 8 kB / 434 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.938e-05/0.2514, allocations: 8 kB / 434.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.2514, allocations: 23.88 kB / 434.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.2515, allocations: 35.73 kB / 434.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.2516, allocations: 93.91 kB / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2516, allocations: 0 / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2516, allocations: 0 / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.2516, allocations: 0 / 434.2 MB, free: 4.062 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.0006523/0.2523, allocations: 365.7 kB / 434.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2523, allocations: 8.031 kB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.2524, allocations: 12.84 kB / 434.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.2527, allocations: 154.9 kB / 434.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.2527, allocations: 12.33 kB / 434.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.2527, allocations: 16.12 kB / 434.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.253, allocations: 130.7 kB / 434.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.2531, allocations: 4 kB / 434.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.2531, allocations: 4 kB / 434.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2531, allocations: 0 / 434.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.2533, allocations: 71.88 kB / 435 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/0.254, allocations: 480.6 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.2543, allocations: 126.5 kB / 435.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2545, allocations: 56.81 kB / 435.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2545, allocations: 4.188 kB / 435.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.2545, allocations: 34.5 kB / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.2545, allocations: 0 / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001165/0.2557, allocations: 452.6 kB / 436.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.2558, allocations: 56.28 kB / 436.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.2559, allocations: 163.5 kB / 436.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.2559, allocations: 25.7 kB / 436.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.2561, allocations: 112 kB / 436.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.2561, allocations: 51.56 kB / 436.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.2562, allocations: 25.72 kB / 436.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.2564, allocations: 322.8 kB / 436.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.2565, allocations: 55.95 kB / 436.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.2567, allocations: 79.55 kB / 437 MB, free: 1.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.257, allocations: 142.3 kB / 437.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.257, allocations: 3.938 kB / 437.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003834/0.2574, allocations: 177.5 kB / 437.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2574, allocations: 4 kB / 437.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2574, allocations: 4 kB / 437.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.2574, allocations: 7.938 kB / 437.3 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.2576, allocations: 43.91 kB / 437.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2576, allocations: 0 / 437.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.2577, allocations: 20.02 kB / 437.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2577, allocations: 4 kB / 437.4 MB, free: 0.6719 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.2578, allocations: 125.8 kB / 437.5 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.2579, allocations: 11.91 kB / 437.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.2579, allocations: 20.7 kB / 437.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.2579, allocations: 3.938 kB / 437.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2579, allocations: 0 / 437.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2579, allocations: 0 / 437.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000784/0.2587, allocations: 431.6 kB / 437.9 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2587, allocations: 0 / 437.9 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.2589, allocations: 35.97 kB / 438 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2589, allocations: 0 / 438 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2589, allocations: 0 / 438 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2589, allocations: 4 kB / 438 MB, free: 0 / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2589, allocations: 4.109 kB / 438 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.2595, allocations: 320.9 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.2595, allocations: 19.97 kB / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.2595, allocations: 8 kB / 438.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2596, allocations: 11.98 kB / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.2597, allocations: 15.98 kB / 438.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.2597, allocations: 4 kB / 438.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.907e-05/0.2598, allocations: 115.2 kB / 438.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2598, allocations: 0 / 438.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.26, allocations: 16 kB / 438.5 MB, free: 15.47 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.0001089/0.2601, allocations: 99.19 kB / 438.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.2605, allocations: 124 kB / 438.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2605, allocations: 96 / 438.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.2607, allocations: 67.84 kB / 438.8 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.0004044/0.2611, allocations: 42.47 kB / 438.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.2618, allocations: 324.5 kB / 439.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.2619, allocations: 94.72 kB / 439.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.2619, allocations: 17.42 kB / 439.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.262, allocations: 15.44 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.262, allocations: 0 / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Templates: time 0.005335/0.2673, allocations: 1.972 MB / 441.2 MB, free: 12.72 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/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: 4.533601547591388]