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.001318/0.001318, allocations: 84.98 kB / 22.99 MB, free: 1.504 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.001363/0.001363, allocations: 176.2 kB / 26.4 MB, free: 7.984 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 1.038/1.038, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.824e-06/1.824e-06, allocations: 3.938 kB / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.461e-05, allocations: 6.25 kB / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002287/0.002312, allocations: 1.688 MB / 253.9 MB, free: 5.562 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007744/0.003086, allocations: 0.5151 MB / 254.4 MB, free: 5.039 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.003173, allocations: 0 / 254.4 MB, free: 5.039 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.003279, allocations: 19.8 kB / 254.5 MB, free: 5.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.778e-05/0.003357, allocations: 31.73 kB / 254.5 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.003519, allocations: 47.94 kB / 254.5 MB, free: 4.941 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.003662, allocations: 115.6 kB / 254.6 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.003759, allocations: 21.3 kB / 254.7 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.003833, allocations: 55.83 kB / 254.7 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.003901, allocations: 39.81 kB / 254.8 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.00392, allocations: 8 kB / 254.8 MB, free: 4.707 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.003933, allocations: 11.94 kB / 254.8 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.003954, allocations: 15.94 kB / 254.8 MB, free: 4.68 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.003982, allocations: 31.91 kB / 254.8 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.004096, allocations: 71.67 kB / 254.9 MB, free: 4.578 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004098, allocations: 0 / 254.9 MB, free: 4.578 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004099, allocations: 0 / 254.9 MB, free: 4.578 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.004103, allocations: 0 / 254.9 MB, free: 4.578 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.0003935/0.004496, allocations: 456 kB / 255.3 MB, free: 4.098 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.004531, allocations: 11.98 kB / 255.4 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.004567, allocations: 16.89 kB / 255.4 MB, free: 4.07 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.004727, allocations: 164.9 kB / 255.5 MB, free: 3.883 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.004746, allocations: 8.375 kB / 255.5 MB, free: 3.875 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.004766, allocations: 8.375 kB / 255.5 MB, free: 3.867 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.004927, allocations: 133.8 kB / 255.7 MB, free: 3.715 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.004937, allocations: 3.938 kB / 255.7 MB, free: 3.711 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.004945, allocations: 4 kB / 255.7 MB, free: 3.707 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.004952, allocations: 4 kB / 255.7 MB, free: 3.703 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.686e-05/0.004989, allocations: 27.86 kB / 255.7 MB, free: 3.676 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.00545, allocations: 0.5916 MB / 256.3 MB, free: 3.047 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.005548, allocations: 71.02 kB / 256.4 MB, free: 2.965 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/0.005576, allocations: 23.67 kB / 256.4 MB, free: 2.938 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.005583, allocations: 0 / 256.4 MB, free: 2.938 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.005604, allocations: 41.52 kB / 256.4 MB, free: 2.887 MB / 234.7 MB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.005605, allocations: 4 kB / 256.4 MB, free: 2.883 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003968/0.006002, allocations: 281.8 kB / 256.7 MB, free: 2.57 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.006031, allocations: 59.34 kB / 256.8 MB, free: 2.5 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.006146, allocations: 209.7 kB / 257 MB, free: 2.277 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.006157, allocations: 25.7 kB / 257 MB, free: 2.246 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.006225, allocations: 166.7 kB / 257.2 MB, free: 2.078 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.00625, allocations: 43.62 kB / 257.2 MB, free: 2.035 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.006295, allocations: 35.36 kB / 257.3 MB, free: 1.992 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.006414, allocations: 0.5039 MB / 257.8 MB, free: 1.477 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.006438, allocations: 12 kB / 257.8 MB, free: 1.461 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-05/0.00648, allocations: 58.16 kB / 257.8 MB, free: 1.391 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.125e-05/0.006551, allocations: 82.36 kB / 257.9 MB, free: 1.297 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.006552, allocations: 0 / 257.9 MB, free: 1.297 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001179/0.00667, allocations: 113.5 kB / 258 MB, free: 1.18 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.006682, allocations: 4 kB / 258 MB, free: 1.176 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006686, allocations: 0 / 258 MB, free: 1.176 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.006694, allocations: 4 kB / 258 MB, free: 1.172 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.006785, allocations: 35.91 kB / 258.1 MB, free: 1.137 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.006791, allocations: 7.984 kB / 258.1 MB, free: 1.129 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.006824, allocations: 8.094 kB / 258.1 MB, free: 1.121 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.006832, allocations: 11.94 kB / 258.1 MB, free: 1.109 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 7.406e-05/0.006906, allocations: 164.5 kB / 258.2 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.006931, allocations: 7.953 kB / 258.3 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.006963, allocations: 20.77 kB / 258.3 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.006966, allocations: 4 kB / 258.3 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.006968, allocations: 0 / 258.3 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006971, allocations: 0 / 258.3 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.007315, allocations: 401.1 kB / 258.7 MB, free: 480 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.007318, allocations: 0 / 258.7 MB, free: 480 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.007402, allocations: 27.98 kB / 258.7 MB, free: 452 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.007405, allocations: 0 / 258.7 MB, free: 452 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.007416, allocations: 8 kB / 258.7 MB, free: 444 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.007418, allocations: 0 / 258.7 MB, free: 444 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.00742, allocations: 3.938 kB / 258.7 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.0076, allocations: 283 kB / 259 MB, free: 128 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.007614, allocations: 7.953 kB / 259 MB, free: 120 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.007626, allocations: 4.062 kB / 259 MB, free: 116 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.141e-05/0.007677, allocations: 15.98 kB / 259 MB, free: 100 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.00771, allocations: 11.92 kB / 259 MB, free: 88 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.007716, allocations: 4 kB / 259 MB, free: 84 kB / 234.7 MB Notification: Performance of sorting global known variables: time 6.39e-05/0.00778, allocations: 151.8 kB / 259.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.00778, allocations: 4 kB / 259.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000166/0.007946, allocations: 20 kB / 259.2 MB, free: 15.91 MB / 250.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.074e-05/0.008017, allocations: 95.19 kB / 259.3 MB, free: 15.81 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.00812, allocations: 63.66 kB / 259.4 MB, free: 15.74 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.008123, allocations: 4 kB / 259.4 MB, free: 15.74 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.726e-05/0.00817, allocations: 43.58 kB / 259.4 MB, free: 15.69 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.008427, allocations: 35.97 kB / 259.4 MB, free: 15.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.008811, allocations: 305.2 kB / 259.7 MB, free: 15.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.008852, allocations: 75.83 kB / 259.8 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.15e-05/0.008893, allocations: 9.5 kB / 259.8 MB, free: 15.22 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.008976, allocations: 98.17 kB / 259.9 MB, free: 15.12 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008976, allocations: 0 / 259.9 MB, free: 15.12 MB / 250.7 MB Notification: Performance of Templates: time 0.00349/0.01247, allocations: 2.109 MB / 262 MB, free: 13.03 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 -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.7482594619505107]