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.0009258/0.0009258, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.000979/0.000979, allocations: 167.6 kB / 25.7 MB, free: 8.438 MB / 18.57 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.8929/0.8929, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.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.312e-06/1.312e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.685e-05, allocations: 2.312 kB / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002118/0.002134, allocations: 1.739 MB / 253.3 MB, free: 5.492 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.002855, allocations: 0.5151 MB / 253.8 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.002928, allocations: 7.938 kB / 253.8 MB, free: 4.961 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.709e-05/0.003025, allocations: 19.8 kB / 253.8 MB, free: 4.941 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.756e-05/0.003093, allocations: 27.78 kB / 253.9 MB, free: 4.914 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.003224, allocations: 51.88 kB / 253.9 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.00336, allocations: 119.5 kB / 254 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.648e-05/0.003447, allocations: 21.94 kB / 254 MB, free: 4.727 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.345e-05/0.00352, allocations: 59.83 kB / 254.1 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.68e-05/0.003587, allocations: 35.81 kB / 254.1 MB, free: 4.633 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.872e-05/0.003606, allocations: 8 kB / 254.1 MB, free: 4.625 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.003617, allocations: 8 kB / 254.2 MB, free: 4.617 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.003642, allocations: 19.94 kB / 254.2 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.00367, allocations: 31.86 kB / 254.2 MB, free: 4.566 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.00378, allocations: 71.66 kB / 254.3 MB, free: 4.496 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003782, allocations: 0 / 254.3 MB, free: 4.496 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003783, allocations: 3.938 kB / 254.3 MB, free: 4.492 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.003787, allocations: 0 / 254.3 MB, free: 4.492 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.0003356/0.004123, allocations: 320.4 kB / 254.6 MB, free: 4.156 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.004157, allocations: 15.98 kB / 254.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.004189, allocations: 12.92 kB / 254.6 MB, free: 4.129 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.004348, allocations: 162.1 kB / 254.8 MB, free: 3.945 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.004367, allocations: 8.375 kB / 254.8 MB, free: 3.938 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.004384, allocations: 4.375 kB / 254.8 MB, free: 3.934 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.004518, allocations: 121.4 kB / 254.9 MB, free: 3.797 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.004529, allocations: 3.938 kB / 254.9 MB, free: 3.793 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.004539, allocations: 11.98 kB / 254.9 MB, free: 3.781 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.004546, allocations: 0 / 254.9 MB, free: 3.781 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.707e-05/0.004583, allocations: 27.92 kB / 255 MB, free: 3.754 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.00494, allocations: 404.3 kB / 255.3 MB, free: 3.336 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/0.005029, allocations: 54.73 kB / 255.4 MB, free: 3.27 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.005053, allocations: 24.78 kB / 255.4 MB, free: 3.242 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.547e-06/0.005063, allocations: 4 kB / 255.4 MB, free: 3.238 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.005081, allocations: 30.56 kB / 255.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.005083, allocations: 0 / 255.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004014/0.005484, allocations: 281.7 kB / 255.7 MB, free: 2.891 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.005509, allocations: 51.41 kB / 255.8 MB, free: 2.828 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.005596, allocations: 158.4 kB / 255.9 MB, free: 2.66 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.005606, allocations: 29.7 kB / 256 MB, free: 2.625 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.005646, allocations: 96.06 kB / 256.1 MB, free: 2.527 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.005669, allocations: 51.56 kB / 256.1 MB, free: 2.477 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.005709, allocations: 33.66 kB / 256.1 MB, free: 2.438 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.005789, allocations: 334.7 kB / 256.5 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.005808, allocations: 12 kB / 256.5 MB, free: 2.09 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.005841, allocations: 43.41 kB / 256.5 MB, free: 2.035 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.005908, allocations: 71.34 kB / 256.6 MB, free: 1.953 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.005909, allocations: 0 / 256.6 MB, free: 1.953 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.603e-05/0.006005, allocations: 89.53 kB / 256.7 MB, free: 1.859 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.006016, allocations: 4 kB / 256.7 MB, free: 1.855 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.006021, allocations: 4 kB / 256.7 MB, free: 1.852 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.006033, allocations: 0 / 256.7 MB, free: 1.852 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.006121, allocations: 44.06 kB / 256.7 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.006125, allocations: 0 / 256.7 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.006154, allocations: 8 kB / 256.7 MB, free: 1.801 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.006162, allocations: 12 kB / 256.8 MB, free: 1.789 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 6.274e-05/0.006224, allocations: 117.7 kB / 256.9 MB, free: 1.664 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.006246, allocations: 11.98 kB / 256.9 MB, free: 1.652 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.006274, allocations: 16.78 kB / 256.9 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006276, allocations: 0 / 256.9 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.006277, allocations: 0 / 256.9 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.006281, allocations: 3.984 kB / 256.9 MB, free: 1.629 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.00656, allocations: 300.4 kB / 257.2 MB, free: 1.305 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.006562, allocations: 0 / 257.2 MB, free: 1.305 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.006638, allocations: 31.97 kB / 257.2 MB, free: 1.273 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.006641, allocations: 4 kB / 257.2 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.006647, allocations: 0 / 257.2 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006649, allocations: 0 / 257.2 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.006653, allocations: 11.88 kB / 257.2 MB, free: 1.258 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.006795, allocations: 209.2 kB / 257.4 MB, free: 1.031 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.006806, allocations: 7.953 kB / 257.5 MB, free: 1.023 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.006817, allocations: 0 / 257.5 MB, free: 1.023 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/0.006861, allocations: 8 kB / 257.5 MB, free: 1.016 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.006897, allocations: 19.91 kB / 257.5 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.006901, allocations: 0 / 257.5 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.626e-05/0.006927, allocations: 41.5 kB / 257.5 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006927, allocations: 0 / 257.5 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.007064, allocations: 23.94 kB / 257.5 MB, free: 0.9297 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 6.745e-05/0.007131, allocations: 80.41 kB / 257.6 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.007231, allocations: 68.45 kB / 257.7 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.007234, allocations: 0 / 257.7 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.00727, allocations: 36.78 kB / 257.7 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.007507, allocations: 40 kB / 257.8 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.007928, allocations: 290 kB / 258 MB, free: 396 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.00797, allocations: 71.83 kB / 258.1 MB, free: 304 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.024e-05/0.00801, allocations: 13.48 kB / 258.1 MB, free: 288 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.136e-05/0.008101, allocations: 79.36 kB / 258.2 MB, free: 208 kB / 234.7 MB Notification: Performance of SimCode: time 8.62e-07/0.008102, allocations: 0 / 258.2 MB, free: 208 kB / 234.7 MB Notification: Performance of Templates: time 0.003374/0.01148, allocations: 2.027 MB / 260.2 MB, free: 14.2 MB / 250.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 -s gbode -gbm=radauIIA3 -emit_protected -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.650389210321009]