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.001137/0.001137, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002907/0.004043, allocations: 445.7 kB / 10.37 MB, free: 328 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.001146/0.001146, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.002177, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9353/0.9353, allocations: 158.6 MB / 171.1 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1324/1.068, allocations: 49.48 MB / 220.5 MB, free: 1.449 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.563e-06/1.563e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.432e-05, allocations: 6.312 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00228/0.002294, allocations: 1.728 MB / 223.6 MB, free: 14.43 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007895/0.003084, allocations: 0.5229 MB / 224.1 MB, free: 13.9 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.003162, allocations: 7.938 kB / 224.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.845e-05/0.003221, allocations: 15.8 kB / 224.1 MB, free: 13.88 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.994e-05/0.003291, allocations: 31.78 kB / 224.1 MB, free: 13.84 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.003393, allocations: 47.88 kB / 224.2 MB, free: 13.8 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.00355, allocations: 119.6 kB / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.003639, allocations: 29.66 kB / 224.3 MB, free: 13.65 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.003735, allocations: 67.77 kB / 224.4 MB, free: 13.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.003807, allocations: 35.89 kB / 224.4 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.003828, allocations: 4 kB / 224.4 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.00384, allocations: 8 kB / 224.4 MB, free: 13.54 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.003861, allocations: 19.88 kB / 224.5 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.003894, allocations: 27.94 kB / 224.5 MB, free: 13.49 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.004036, allocations: 67.62 kB / 224.6 MB, free: 13.43 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.69e-05/0.004053, allocations: 0 / 224.6 MB, free: 13.43 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004053, allocations: 0 / 224.6 MB, free: 13.43 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.004072, allocations: 0 / 224.6 MB, free: 13.43 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.0004435/0.004516, allocations: 336.1 kB / 224.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.004549, allocations: 8.031 kB / 224.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.004588, allocations: 16.92 kB / 224.9 MB, free: 13.05 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.004774, allocations: 158.1 kB / 225.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.004796, allocations: 8.375 kB / 225.1 MB, free: 12.86 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.004819, allocations: 12.38 kB / 225.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.004967, allocations: 125.4 kB / 225.2 MB, free: 12.71 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.004978, allocations: 3.938 kB / 225.2 MB, free: 12.71 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.004986, allocations: 4 kB / 225.2 MB, free: 12.7 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.004992, allocations: 7.938 kB / 225.2 MB, free: 12.7 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.76e-05/0.00503, allocations: 23.89 kB / 225.2 MB, free: 12.67 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.00539, allocations: 408.3 kB / 225.6 MB, free: 12.25 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.004e-05/0.00548, allocations: 62.47 kB / 225.7 MB, free: 12.18 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.005504, allocations: 24.86 kB / 225.7 MB, free: 12.15 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.005511, allocations: 0 / 225.7 MB, free: 12.15 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.005529, allocations: 30.56 kB / 225.8 MB, free: 12.11 MB / 234.7 MB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.00553, allocations: 4 kB / 225.8 MB, free: 12.11 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003913/0.005922, allocations: 281.2 kB / 226 MB, free: 11.8 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.005951, allocations: 55.41 kB / 226.1 MB, free: 11.73 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.00603, allocations: 146.6 kB / 226.2 MB, free: 11.58 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.006045, allocations: 29.7 kB / 226.3 MB, free: 11.54 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.006087, allocations: 100.1 kB / 226.4 MB, free: 11.44 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.00611, allocations: 47.56 kB / 226.4 MB, free: 11.39 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.006144, allocations: 41.64 kB / 226.4 MB, free: 11.35 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.61e-05/0.00621, allocations: 330.7 kB / 226.8 MB, free: 11.02 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.006226, allocations: 8 kB / 226.8 MB, free: 11.01 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.968e-05/0.006255, allocations: 39.42 kB / 226.8 MB, free: 10.96 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.479e-05/0.00631, allocations: 71.31 kB / 226.9 MB, free: 10.88 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.006311, allocations: 0 / 226.9 MB, free: 10.88 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.574e-05/0.006397, allocations: 89.55 kB / 227 MB, free: 10.78 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.006409, allocations: 7.984 kB / 227 MB, free: 10.77 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.006413, allocations: 0 / 227 MB, free: 10.77 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.006423, allocations: 4 kB / 227 MB, free: 10.77 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.006502, allocations: 31.98 kB / 227 MB, free: 10.74 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.006506, allocations: 8.031 kB / 227 MB, free: 10.73 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.006537, allocations: 15.98 kB / 227 MB, free: 10.71 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.006542, allocations: 4 kB / 227 MB, free: 10.71 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.305e-05/0.006595, allocations: 113.8 kB / 227.2 MB, free: 10.59 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.006612, allocations: 12 kB / 227.2 MB, free: 10.58 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.006637, allocations: 16.77 kB / 227.2 MB, free: 10.56 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006639, allocations: 0 / 227.2 MB, free: 10.56 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.00664, allocations: 0 / 227.2 MB, free: 10.56 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006643, allocations: 0 / 227.2 MB, free: 10.56 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.00689, allocations: 296.3 kB / 227.5 MB, free: 10.24 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006891, allocations: 0 / 227.5 MB, free: 10.24 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-05/0.006963, allocations: 39.86 kB / 227.5 MB, free: 10.2 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.006975, allocations: 15.91 kB / 227.5 MB, free: 10.19 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.006976, allocations: 0 / 227.5 MB, free: 10.19 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.006984, allocations: 8 kB / 227.5 MB, free: 10.18 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.006985, allocations: 3.938 kB / 227.5 MB, free: 10.18 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006987, allocations: 4 kB / 227.5 MB, free: 10.17 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.007114, allocations: 201.3 kB / 227.7 MB, free: 9.953 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.007126, allocations: 8 kB / 227.7 MB, free: 9.945 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.24e-05/0.007169, allocations: 7.984 kB / 227.8 MB, free: 9.938 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.0072, allocations: 19.86 kB / 227.8 MB, free: 9.918 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.007204, allocations: 4 kB / 227.8 MB, free: 9.914 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.488e-05/0.007229, allocations: 41.34 kB / 227.8 MB, free: 9.871 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007229, allocations: 0 / 227.8 MB, free: 9.871 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000128/0.007357, allocations: 20 kB / 227.8 MB, free: 9.852 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 5.921e-05/0.007417, allocations: 80.45 kB / 227.9 MB, free: 9.766 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.146e-05/0.007498, allocations: 68.66 kB / 228 MB, free: 9.695 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.007504, allocations: 7.984 kB / 228 MB, free: 9.688 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.335e-05/0.007538, allocations: 36.78 kB / 228 MB, free: 9.648 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.007735, allocations: 57.98 kB / 228.1 MB, free: 9.598 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.008339, allocations: 290.1 kB / 228.4 MB, free: 9.285 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.008374, allocations: 71.83 kB / 228.4 MB, free: 9.195 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.458e-05/0.008409, allocations: 13.48 kB / 228.4 MB, free: 9.18 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.008486, allocations: 79.36 kB / 228.5 MB, free: 9.102 MB / 234.7 MB Notification: Performance of SimCode: time 4.9e-07/0.008487, allocations: 0 / 228.5 MB, free: 9.102 MB / 234.7 MB Notification: Performance of Templates: time 0.003257/0.01174, allocations: 2.061 MB / 230.6 MB, free: 7.055 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5596033269539475]