Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009608/0.0009608, allocations: 141.7 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.941/0.941, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.266e-05, allocations: 2.312 kB / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001805/0.001817, allocations: 1.678 MB / 270.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005737/0.002391, allocations: 498.5 kB / 270.6 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.002455, allocations: 4 kB / 270.6 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.395e-05/0.002549, allocations: 15.8 kB / 270.6 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.002613, allocations: 31.72 kB / 270.7 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.002733, allocations: 51.88 kB / 270.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.002861, allocations: 115.6 kB / 270.8 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.463e-05/0.002946, allocations: 21.94 kB / 270.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.565e-05/0.003022, allocations: 63.77 kB / 270.9 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.003088, allocations: 43.81 kB / 271 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.00311, allocations: 8 kB / 271 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.003122, allocations: 8 kB / 271 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.003143, allocations: 11.94 kB / 271 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.003171, allocations: 35.86 kB / 271 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.003274, allocations: 75.66 kB / 271.1 MB, free: 3.375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-06/0.003275, allocations: 0 / 271.1 MB, free: 3.375 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003276, allocations: 0 / 271.1 MB, free: 3.375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.003279, allocations: 0 / 271.1 MB, free: 3.375 MB / 250.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.0003222/0.003601, allocations: 320.3 kB / 271.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.003631, allocations: 8.922 kB / 271.4 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.003661, allocations: 16.92 kB / 271.4 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.003806, allocations: 150.2 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.003824, allocations: 12.33 kB / 271.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.003845, allocations: 15.94 kB / 271.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.003983, allocations: 120.8 kB / 271.7 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.00399, allocations: 0 / 271.7 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.003997, allocations: 0 / 271.7 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004002, allocations: 0 / 271.7 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.492e-05/0.004036, allocations: 27.92 kB / 271.8 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.004383, allocations: 404.3 kB / 272.2 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.407e-05/0.004467, allocations: 54.55 kB / 272.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.00449, allocations: 20.84 kB / 272.2 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.004497, allocations: 4 kB / 272.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.004516, allocations: 38.69 kB / 272.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.004517, allocations: 0 / 272.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003798/0.004897, allocations: 281.8 kB / 272.5 MB, free: 1.789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.004925, allocations: 59.34 kB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/0.005009, allocations: 158.4 kB / 272.8 MB, free: 1.551 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.629e-06/0.005019, allocations: 25.7 kB / 272.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.005059, allocations: 108 kB / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.00508, allocations: 47.56 kB / 272.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.005115, allocations: 37.69 kB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.005184, allocations: 322.8 kB / 273.3 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.005202, allocations: 12 kB / 273.3 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.005236, allocations: 50.38 kB / 273.3 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.721e-05/0.005293, allocations: 66.97 kB / 273.4 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.005294, allocations: 0 / 273.4 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.467e-05/0.005379, allocations: 89.59 kB / 273.5 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.005388, allocations: 8 kB / 273.5 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005392, allocations: 0 / 273.5 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.005402, allocations: 4 kB / 273.5 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.102e-05/0.005483, allocations: 35.91 kB / 273.5 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.005488, allocations: 4.031 kB / 273.5 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.005517, allocations: 12 kB / 273.6 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.005524, allocations: 8 kB / 273.6 MB, free: 0.6875 MB / 250.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.804e-05/0.005582, allocations: 117.8 kB / 273.7 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.0056, allocations: 11.98 kB / 273.7 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.005625, allocations: 16.78 kB / 273.7 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.005626, allocations: 0 / 273.7 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.005628, allocations: 3.938 kB / 273.7 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.005632, allocations: 3.984 kB / 273.7 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.005893, allocations: 292.3 kB / 274 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.005894, allocations: 0 / 274 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.005966, allocations: 35.91 kB / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.005968, allocations: 0 / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.005976, allocations: 7.938 kB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.005977, allocations: 0 / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005978, allocations: 0 / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.006124, allocations: 209.1 kB / 274.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.006136, allocations: 11.97 kB / 274.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.006148, allocations: 7.938 kB / 274.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.457e-05/0.006193, allocations: 8 kB / 274.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.006221, allocations: 11.97 kB / 274.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-06/0.006226, allocations: 8 kB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.515e-05/0.006251, allocations: 31.67 kB / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006251, allocations: 0 / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001292/0.00638, allocations: 24 kB / 274.4 MB, free: 15.84 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 5.765e-05/0.006438, allocations: 80.34 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.257e-05/0.00652, allocations: 68.89 kB / 274.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.006523, allocations: 0 / 274.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.412e-05/0.006557, allocations: 36.72 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.006742, allocations: 39.97 kB / 274.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.00708, allocations: 290.9 kB / 274.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.007117, allocations: 71.83 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.167e-05/0.007148, allocations: 13.48 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.007223, allocations: 79.36 kB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007223, allocations: 0 / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of Templates: time 0.003256/0.01048, allocations: 2.018 MB / 277 MB, free: 13.12 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.66607882687822]