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.0007398/0.0007398, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009673/0.001707, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007052/0.0007052, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008811/0.001586, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.7865/0.7865, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1244/0.911, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.912e-05, allocations: 5.406 kB / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002027/0.002046, allocations: 1.736 MB / 223.7 MB, free: 14.31 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006065/0.002652, allocations: 0.5306 MB / 224.2 MB, free: 13.77 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.002716, allocations: 0 / 224.2 MB, free: 13.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.378e-05/0.00277, allocations: 15.81 kB / 224.3 MB, free: 13.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.009e-05/0.00283, allocations: 27.78 kB / 224.3 MB, free: 13.73 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.002932, allocations: 51.88 kB / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.003063, allocations: 115.6 kB / 224.5 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.003144, allocations: 29.66 kB / 224.5 MB, free: 13.54 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.003235, allocations: 75.77 kB / 224.6 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.003308, allocations: 31.89 kB / 224.6 MB, free: 13.43 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.003333, allocations: 11.94 kB / 224.6 MB, free: 13.42 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.003345, allocations: 8 kB / 224.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.003368, allocations: 15.94 kB / 224.6 MB, free: 13.39 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.003392, allocations: 19.94 kB / 224.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.003503, allocations: 71.69 kB / 224.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.526e-05/0.003518, allocations: 0 / 224.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003519, allocations: 0 / 224.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.003527, allocations: 0 / 224.7 MB, free: 13.3 MB / 234.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.0003585/0.003886, allocations: 336 kB / 225 MB, free: 12.95 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.596e-05/0.003912, allocations: 12.03 kB / 225.1 MB, free: 12.94 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.003944, allocations: 16.92 kB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.004093, allocations: 154.1 kB / 225.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.004111, allocations: 12.38 kB / 225.2 MB, free: 12.74 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.004134, allocations: 12.31 kB / 225.2 MB, free: 12.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.004274, allocations: 117.4 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.004283, allocations: 7.938 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.004291, allocations: 3.984 kB / 225.4 MB, free: 12.58 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.004297, allocations: 4 kB / 225.4 MB, free: 12.58 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.004333, allocations: 27.84 kB / 225.4 MB, free: 12.55 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.004703, allocations: 408.3 kB / 225.8 MB, free: 12.13 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.824e-05/0.004792, allocations: 54.55 kB / 225.9 MB, free: 12.07 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.004813, allocations: 16.86 kB / 225.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.004822, allocations: 4.188 kB / 225.9 MB, free: 12.04 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.004841, allocations: 38.5 kB / 225.9 MB, free: 12 MB / 234.7 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.004842, allocations: 0 / 225.9 MB, free: 12 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004106/0.005253, allocations: 289.8 kB / 226.2 MB, free: 11.68 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.005277, allocations: 55.41 kB / 226.2 MB, free: 11.61 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.005364, allocations: 150.6 kB / 226.4 MB, free: 11.45 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.005375, allocations: 29.7 kB / 226.4 MB, free: 11.42 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.005416, allocations: 100.1 kB / 226.5 MB, free: 11.32 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.005442, allocations: 47.56 kB / 226.6 MB, free: 11.27 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.005478, allocations: 37.66 kB / 226.6 MB, free: 11.23 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.005551, allocations: 330.7 kB / 226.9 MB, free: 10.89 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.005571, allocations: 11.98 kB / 226.9 MB, free: 10.88 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.005835, allocations: 39.42 kB / 227 MB, free: 10.83 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.005892, allocations: 71.33 kB / 227 MB, free: 10.75 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005893, allocations: 0 / 227 MB, free: 10.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.718e-05/0.00598, allocations: 85.59 kB / 227.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.005993, allocations: 8 kB / 227.1 MB, free: 10.65 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005997, allocations: 0 / 227.1 MB, free: 10.65 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.006008, allocations: 0 / 227.1 MB, free: 10.65 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.006098, allocations: 39.92 kB / 227.2 MB, free: 10.61 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.006102, allocations: 0 / 227.2 MB, free: 10.61 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.006133, allocations: 16.08 kB / 227.2 MB, free: 10.6 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.006139, allocations: 4 kB / 227.2 MB, free: 10.59 MB / 234.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 5.528e-05/0.006194, allocations: 121.7 kB / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.006213, allocations: 15.92 kB / 227.3 MB, free: 10.45 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.006242, allocations: 12.78 kB / 227.3 MB, free: 10.44 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.006244, allocations: 4 kB / 227.3 MB, free: 10.43 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006245, allocations: 0 / 227.3 MB, free: 10.43 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.006249, allocations: 0 / 227.3 MB, free: 10.43 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.00654, allocations: 300.3 kB / 227.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006542, allocations: 0 / 227.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.861e-05/0.006621, allocations: 27.98 kB / 227.7 MB, free: 10.08 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.006633, allocations: 15.89 kB / 227.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.006636, allocations: 4 kB / 227.7 MB, free: 10.06 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.006644, allocations: 4 kB / 227.7 MB, free: 10.06 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.006648, allocations: 7.938 kB / 227.7 MB, free: 10.05 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.006651, allocations: 7.984 kB / 227.7 MB, free: 10.04 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.006785, allocations: 201.1 kB / 227.9 MB, free: 9.824 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.006798, allocations: 8.062 kB / 227.9 MB, free: 9.816 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.00684, allocations: 8 kB / 227.9 MB, free: 9.809 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.006872, allocations: 19.91 kB / 227.9 MB, free: 9.789 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.006876, allocations: 0 / 227.9 MB, free: 9.789 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.913e-05/0.006905, allocations: 41.36 kB / 228 MB, free: 9.746 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006905, allocations: 3.938 kB / 228 MB, free: 9.742 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000132/0.007037, allocations: 20 kB / 228 MB, free: 9.723 MB / 234.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 7.52e-05/0.007112, allocations: 84.34 kB / 228.1 MB, free: 9.633 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.007206, allocations: 61.16 kB / 228.1 MB, free: 9.57 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.007214, allocations: 7.984 kB / 228.2 MB, free: 9.562 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.696e-05/0.007261, allocations: 44.72 kB / 228.2 MB, free: 9.516 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.007554, allocations: 300 kB / 228.5 MB, free: 9.172 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.008207, allocations: 290.1 kB / 228.8 MB, free: 8.859 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.008243, allocations: 71.83 kB / 228.8 MB, free: 8.77 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.965e-05/0.008283, allocations: 13.48 kB / 228.9 MB, free: 8.758 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.437e-05/0.008367, allocations: 75.36 kB / 228.9 MB, free: 8.684 MB / 234.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008368, allocations: 0 / 228.9 MB, free: 8.684 MB / 234.7 MB Notification: Performance of Templates: time 0.003411/0.01178, allocations: 2.174 MB / 231.1 MB, free: 6.527 MB / 234.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.154143014922738]