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.001871/0.001871, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.001979/0.001979, allocations: 165.4 kB / 25.03 MB, free: 8.922 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.358/1.358, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 250.3 MB, free: 7.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.36e-05, allocations: 10.31 kB / 250.4 MB, free: 7.934 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.005317/0.005351, allocations: 1.653 MB / 252 MB, free: 6.266 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.007158, allocations: 0.5035 MB / 252.5 MB, free: 5.754 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.007285, allocations: 3.938 kB / 252.5 MB, free: 5.75 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.007454, allocations: 15.81 kB / 252.5 MB, free: 5.734 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.007614, allocations: 27.78 kB / 252.6 MB, free: 5.707 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.007909, allocations: 51.88 kB / 252.6 MB, free: 5.656 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.008238, allocations: 119.6 kB / 252.7 MB, free: 5.539 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.008382, allocations: 21.23 kB / 252.8 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.008558, allocations: 63.81 kB / 252.8 MB, free: 5.457 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.008684, allocations: 31.84 kB / 252.8 MB, free: 5.426 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.008722, allocations: 8 kB / 252.9 MB, free: 5.418 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.258e-05/0.008755, allocations: 8 kB / 252.9 MB, free: 5.41 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.009054, allocations: 27.84 kB / 252.9 MB, free: 5.383 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.00913, allocations: 27.92 kB / 252.9 MB, free: 5.355 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.009408, allocations: 99.55 kB / 253 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.009415, allocations: 4 kB / 253 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.009416, allocations: 0 / 253 MB, free: 5.254 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.009422, allocations: 0 / 253 MB, free: 5.254 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.001026/0.01045, allocations: 447.8 kB / 253.5 MB, free: 4.781 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.0105, allocations: 11.98 kB / 253.5 MB, free: 4.77 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.0106, allocations: 20.89 kB / 253.5 MB, free: 4.75 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.01103, allocations: 164.9 kB / 253.6 MB, free: 4.562 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.01107, allocations: 8.375 kB / 253.7 MB, free: 4.555 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.01111, allocations: 8.375 kB / 253.7 MB, free: 4.547 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.01162, allocations: 137.7 kB / 253.8 MB, free: 4.395 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.01164, allocations: 3.938 kB / 253.8 MB, free: 4.391 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.01166, allocations: 4 kB / 253.8 MB, free: 4.387 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.01167, allocations: 4 kB / 253.8 MB, free: 4.383 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.01195, allocations: 59.81 kB / 253.9 MB, free: 4.324 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.01342, allocations: 0.634 MB / 254.5 MB, free: 3.641 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.01401, allocations: 122.9 kB / 254.6 MB, free: 3.508 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.01425, allocations: 59.66 kB / 254.7 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.01427, allocations: 0 / 254.7 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.01432, allocations: 37.39 kB / 254.7 MB, free: 3.398 MB / 234.7 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.01432, allocations: 0 / 254.7 MB, free: 3.398 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.001762/0.01609, allocations: 409.7 kB / 255.1 MB, free: 2.961 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.01616, allocations: 55.41 kB / 255.2 MB, free: 2.895 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.01655, allocations: 233.6 kB / 255.4 MB, free: 2.648 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.01659, allocations: 29.7 kB / 255.4 MB, free: 2.613 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.01678, allocations: 158.8 kB / 255.6 MB, free: 2.453 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.01686, allocations: 47.64 kB / 255.6 MB, free: 2.406 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.01699, allocations: 43.31 kB / 255.7 MB, free: 2.355 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0004485/0.01743, allocations: 0.4962 MB / 256.2 MB, free: 1.848 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.01768, allocations: 43.97 kB / 256.2 MB, free: 1.805 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.01799, allocations: 90.66 kB / 256.3 MB, free: 1.699 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.01852, allocations: 122.7 kB / 256.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01852, allocations: 0 / 256.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006601/0.01918, allocations: 161.5 kB / 256.6 MB, free: 1.398 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.0192, allocations: 12.09 kB / 256.6 MB, free: 1.387 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.01921, allocations: 0 / 256.6 MB, free: 1.387 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.01923, allocations: 4 kB / 256.6 MB, free: 1.383 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.01952, allocations: 31.97 kB / 256.6 MB, free: 1.352 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.01953, allocations: 3.938 kB / 256.6 MB, free: 1.348 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.01967, allocations: 15.94 kB / 256.6 MB, free: 1.332 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.01969, allocations: 4 kB / 256.6 MB, free: 1.328 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 0.0002195/0.01991, allocations: 172.5 kB / 256.8 MB, free: 1.148 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.01999, allocations: 19.89 kB / 256.8 MB, free: 1.129 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.056e-05/0.02006, allocations: 16.78 kB / 256.9 MB, free: 1.109 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02006, allocations: 4 kB / 256.9 MB, free: 1.105 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.02007, allocations: 3.938 kB / 256.9 MB, free: 1.102 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.02009, allocations: 3.938 kB / 256.9 MB, free: 1.098 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008285/0.02092, allocations: 476.6 kB / 257.3 MB, free: 0.582 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02092, allocations: 0 / 257.3 MB, free: 0.582 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.02109, allocations: 31.92 kB / 257.4 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.02109, allocations: 4.062 kB / 257.4 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.02111, allocations: 7.938 kB / 257.4 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.02111, allocations: 4 kB / 257.4 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.02111, allocations: 0 / 257.4 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.02169, allocations: 355.1 kB / 257.7 MB, free: 164 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.02172, allocations: 11.91 kB / 257.7 MB, free: 152 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.02174, allocations: 7.938 kB / 257.7 MB, free: 144 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.02184, allocations: 8 kB / 257.7 MB, free: 136 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.0219, allocations: 23.91 kB / 257.8 MB, free: 112 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.0219, allocations: 0 / 257.8 MB, free: 112 kB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.02206, allocations: 167.8 kB / 257.9 MB, free: 15.95 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02206, allocations: 0 / 257.9 MB, free: 15.95 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.02231, allocations: 20 kB / 258 MB, free: 15.93 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 0.0001216/0.02244, allocations: 91.25 kB / 258 MB, free: 15.83 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003482/0.02278, allocations: 123.6 kB / 258.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02279, allocations: 0 / 258.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.02294, allocations: 67.59 kB / 258.2 MB, free: 15.63 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.02337, allocations: 51.28 kB / 258.3 MB, free: 15.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000706/0.02407, allocations: 313 kB / 258.6 MB, free: 15.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.02419, allocations: 103 kB / 258.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.006e-05/0.02425, allocations: 17.52 kB / 258.7 MB, free: 15.11 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.0243, allocations: 20.5 kB / 258.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.0243, allocations: 0 / 258.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of Templates: time 0.006135/0.03044, allocations: 1.878 MB / 260.6 MB, free: 13.22 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.293039501062594]