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.001104/0.001104, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001325/0.001325, allocations: 170.6 kB / 25.6 MB, free: 8.914 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.135/1.135, allocations: 158.6 MB / 187.5 MB, free: 2.77 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.603e-06/1.603e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.614e-05/3.774e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00279/0.002828, allocations: 1.696 MB / 253.1 MB, free: 5.547 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.003718, allocations: 0.5035 MB / 253.7 MB, free: 5.035 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.003825, allocations: 7.938 kB / 253.7 MB, free: 5.027 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.003959, allocations: 11.86 kB / 253.7 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.976e-05/0.004048, allocations: 35.72 kB / 253.7 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.004219, allocations: 47.88 kB / 253.8 MB, free: 4.934 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.004383, allocations: 119.6 kB / 253.9 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.004506, allocations: 17.3 kB / 253.9 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.612e-05/0.004592, allocations: 59.81 kB / 253.9 MB, free: 4.742 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.004673, allocations: 35.84 kB / 254 MB, free: 4.707 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.004699, allocations: 8 kB / 254 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.004714, allocations: 8 kB / 254 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.004741, allocations: 23.91 kB / 254 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.004775, allocations: 27.86 kB / 254 MB, free: 4.641 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.004914, allocations: 75.66 kB / 254.1 MB, free: 4.566 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.004918, allocations: 0 / 254.1 MB, free: 4.566 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.369e-06/0.004922, allocations: 4 kB / 254.1 MB, free: 4.562 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.004927, allocations: 0 / 254.1 MB, free: 4.562 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.0005891/0.005516, allocations: 448 kB / 254.6 MB, free: 4.09 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.005573, allocations: 11.98 kB / 254.6 MB, free: 4.078 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.005621, allocations: 20.89 kB / 254.6 MB, free: 4.059 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.005806, allocations: 160.9 kB / 254.8 MB, free: 3.875 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.00583, allocations: 8.312 kB / 254.8 MB, free: 3.867 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.005861, allocations: 20.36 kB / 254.8 MB, free: 3.848 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.006067, allocations: 125.9 kB / 254.9 MB, free: 3.703 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.006083, allocations: 3.938 kB / 254.9 MB, free: 3.699 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.006095, allocations: 4 kB / 254.9 MB, free: 3.695 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.006103, allocations: 4 kB / 254.9 MB, free: 3.691 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.006146, allocations: 19.92 kB / 254.9 MB, free: 3.672 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.006746, allocations: 0.5955 MB / 255.5 MB, free: 3.039 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.006875, allocations: 70.97 kB / 255.6 MB, free: 2.957 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.00691, allocations: 27.66 kB / 255.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.006922, allocations: 4 kB / 255.6 MB, free: 2.922 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.006947, allocations: 33.39 kB / 255.7 MB, free: 2.879 MB / 234.7 MB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.006949, allocations: 0 / 255.7 MB, free: 2.879 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008073/0.007756, allocations: 293.9 kB / 255.9 MB, free: 2.551 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.007784, allocations: 51.41 kB / 256 MB, free: 2.488 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.0079, allocations: 209.7 kB / 256.2 MB, free: 2.266 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.007911, allocations: 25.7 kB / 256.2 MB, free: 2.234 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.007984, allocations: 170.7 kB / 256.4 MB, free: 2.062 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.008007, allocations: 43.62 kB / 256.4 MB, free: 2.02 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.008055, allocations: 35.3 kB / 256.5 MB, free: 1.977 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.008188, allocations: 0.5 MB / 257 MB, free: 1.465 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.008214, allocations: 12 kB / 257 MB, free: 1.453 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.008263, allocations: 65.92 kB / 257 MB, free: 1.375 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.194e-05/0.008335, allocations: 70.73 kB / 257.1 MB, free: 1.289 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.008336, allocations: 0 / 257.1 MB, free: 1.289 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001217/0.008458, allocations: 117.5 kB / 257.2 MB, free: 1.168 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.008473, allocations: 4 kB / 257.2 MB, free: 1.164 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.00848, allocations: 0 / 257.2 MB, free: 1.164 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.008496, allocations: 4 kB / 257.2 MB, free: 1.16 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.008597, allocations: 35.97 kB / 257.3 MB, free: 1.125 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.008603, allocations: 7.938 kB / 257.3 MB, free: 1.117 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.008633, allocations: 4 kB / 257.3 MB, free: 1.113 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.00864, allocations: 7.938 kB / 257.3 MB, free: 1.105 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.65e-05/0.008717, allocations: 160.7 kB / 257.5 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.008738, allocations: 15.95 kB / 257.5 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.008784, allocations: 20.77 kB / 257.5 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.008787, allocations: 3.984 kB / 257.5 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.00879, allocations: 4 kB / 257.5 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.008793, allocations: 0 / 257.5 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.009158, allocations: 397.1 kB / 257.9 MB, free: 472 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.00916, allocations: 0 / 257.9 MB, free: 472 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.009248, allocations: 35.98 kB / 257.9 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.009252, allocations: 0 / 257.9 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.009263, allocations: 8 kB / 257.9 MB, free: 428 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.009264, allocations: 0 / 257.9 MB, free: 428 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.009266, allocations: 3.938 kB / 257.9 MB, free: 424 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.009457, allocations: 286.7 kB / 258.2 MB, free: 112 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.009469, allocations: 7.953 kB / 258.2 MB, free: 104 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.009481, allocations: 0 / 258.2 MB, free: 104 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.568e-05/0.009527, allocations: 11.98 kB / 258.2 MB, free: 92 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.009564, allocations: 15.92 kB / 258.2 MB, free: 76 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.009569, allocations: 4 kB / 258.2 MB, free: 72 kB / 234.7 MB Notification: Performance of sorting global known variables: time 6.948e-05/0.009638, allocations: 155.8 kB / 258.4 MB, free: 15.92 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009638, allocations: 0 / 258.4 MB, free: 15.92 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001597/0.009798, allocations: 24 kB / 258.4 MB, free: 15.89 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.0001037/0.009901, allocations: 91.25 kB / 258.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.01003, allocations: 67.28 kB / 258.6 MB, free: 15.73 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01003, allocations: 0 / 258.6 MB, free: 15.73 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.01008, allocations: 44.06 kB / 258.6 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.01039, allocations: 47.91 kB / 258.7 MB, free: 15.64 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.0109, allocations: 301 kB / 259 MB, free: 15.31 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.966e-05/0.01096, allocations: 71.83 kB / 259 MB, free: 15.22 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.434e-05/0.01101, allocations: 13.48 kB / 259 MB, free: 15.2 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.891e-05/0.01111, allocations: 102.2 kB / 259.1 MB, free: 15.1 MB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01111, allocations: 0 / 259.1 MB, free: 15.1 MB / 250.7 MB Notification: Performance of Templates: time 0.00412/0.01523, allocations: 2.043 MB / 261.2 MB, free: 13.08 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: 3.082307965029031]