Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 95.59 kB / 20.97 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001879/0.001879, allocations: 160.9 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.769e-05/3.974e-05, allocations: 2.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.004664/0.004704, allocations: 1.678 MB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.006113, allocations: 0.4987 MB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.006233, allocations: 3.938 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.00637, allocations: 7.875 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.006492, allocations: 31.73 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.006713, allocations: 51.88 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.007052, allocations: 123.5 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.007188, allocations: 21.3 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.007321, allocations: 59.75 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.007429, allocations: 31.91 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.007462, allocations: 8 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.627e-05/0.007489, allocations: 8 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.007537, allocations: 27.84 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.007592, allocations: 23.92 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.007805, allocations: 91.62 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.007809, allocations: 0 / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.007811, allocations: 4 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.007817, allocations: 3.938 kB / 274.9 MB, free: 15.14 MB / 266.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.0007711/0.008588, allocations: 447.8 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.008639, allocations: 15.98 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.008711, allocations: 20.84 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.009062, allocations: 160.9 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.009087, allocations: 8.375 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.009127, allocations: 16.33 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.00948, allocations: 125.3 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.009504, allocations: 7.938 kB / 275.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.00952, allocations: 4 kB / 275.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.009525, allocations: 0 / 275.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.009763, allocations: 59.89 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.01085, allocations: 0.6302 MB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.01128, allocations: 126.9 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.01144, allocations: 43.67 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.01147, allocations: 4 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.01151, allocations: 37.38 kB / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.01151, allocations: 0 / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.001387/0.0129, allocations: 422 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.01295, allocations: 55.41 kB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.01336, allocations: 224.1 kB / 277.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.01339, allocations: 29.7 kB / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.01354, allocations: 158.8 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.01361, allocations: 51.56 kB / 277.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.0137, allocations: 43.36 kB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003635/0.01406, allocations: 0.5001 MB / 278 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.01422, allocations: 39.98 kB / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.01443, allocations: 86.7 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.01482, allocations: 134.5 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01482, allocations: 0 / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004711/0.01529, allocations: 169.4 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.01532, allocations: 4 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.01533, allocations: 4 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.01535, allocations: 0 / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.01555, allocations: 27.98 kB / 278.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.01557, allocations: 4 kB / 278.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.369e-05/0.01566, allocations: 11.92 kB / 278.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.01568, allocations: 8 kB / 278.5 MB, free: 11.23 MB / 266.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 0.0001885/0.01587, allocations: 172.6 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.01593, allocations: 19.91 kB / 278.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.526e-05/0.01599, allocations: 16.77 kB / 278.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.016, allocations: 4 kB / 278.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.016, allocations: 3.938 kB / 278.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.01601, allocations: 3.938 kB / 278.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.01706, allocations: 472.9 kB / 279.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01707, allocations: 0 / 279.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.01728, allocations: 35.91 kB / 279.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.01728, allocations: 0 / 279.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.0173, allocations: 7.938 kB / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01731, allocations: 0 / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.01731, allocations: 0 / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.01805, allocations: 351.3 kB / 279.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.01809, allocations: 19.89 kB / 279.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.01812, allocations: 3.938 kB / 279.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.01825, allocations: 8 kB / 279.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.01833, allocations: 23.84 kB / 279.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.01834, allocations: 8 kB / 279.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.0185, allocations: 156 kB / 279.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0185, allocations: 0 / 279.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.01889, allocations: 20 kB / 279.8 MB, free: 9.848 MB / 266.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 0.0001596/0.01905, allocations: 103.2 kB / 279.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.01949, allocations: 119.5 kB / 280 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.0195, allocations: 4 kB / 280 MB, free: 9.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.0197, allocations: 63.59 kB / 280.1 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.02026, allocations: 42.94 kB / 280.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.02112, allocations: 318.3 kB / 280.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.02126, allocations: 90.83 kB / 280.5 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.44e-05/0.02135, allocations: 21.41 kB / 280.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/0.02141, allocations: 16.5 kB / 280.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02141, allocations: 4 kB / 280.5 MB, free: 9.004 MB / 266.7 MB Notification: Performance of Templates: time 0.007779/0.02919, allocations: 1.854 MB / 282.4 MB, free: 7.184 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.459152749041095]