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.0009371/0.0009371, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.0009083/0.0009083, allocations: 165.7 kB / 25.33 MB, free: 8.582 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 0.9135/0.9135, allocations: 158.6 MB / 187.2 MB, free: 2.926 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 2.104e-06/2.104e-06, allocations: 0 / 251 MB, free: 7.402 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.445e-05, allocations: 2.312 kB / 251 MB, free: 7.398 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003364/0.003398, allocations: 1.696 MB / 252.7 MB, free: 5.684 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.004456, allocations: 0.5113 MB / 253.2 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.004558, allocations: 3.938 kB / 253.2 MB, free: 5.16 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.004672, allocations: 11.88 kB / 253.3 MB, free: 5.148 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.004789, allocations: 31.72 kB / 253.3 MB, free: 5.117 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.005003, allocations: 47.94 kB / 253.3 MB, free: 5.07 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.005199, allocations: 123.5 kB / 253.5 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.005311, allocations: 21.28 kB / 253.5 MB, free: 4.93 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.005426, allocations: 59.83 kB / 253.5 MB, free: 4.871 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.005525, allocations: 31.89 kB / 253.6 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.005559, allocations: 8 kB / 253.6 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.934e-05/0.005578, allocations: 8 kB / 253.6 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.193e-05/0.00561, allocations: 23.86 kB / 253.6 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.00566, allocations: 27.92 kB / 253.6 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.005871, allocations: 75.61 kB / 253.7 MB, free: 4.699 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.005877, allocations: 0 / 253.7 MB, free: 4.699 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.005879, allocations: 0 / 253.7 MB, free: 4.699 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.005888, allocations: 0 / 253.7 MB, free: 4.699 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.0006468/0.006535, allocations: 448 kB / 254.1 MB, free: 4.227 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.006579, allocations: 11.98 kB / 254.2 MB, free: 4.215 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.006655, allocations: 16.89 kB / 254.2 MB, free: 4.199 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.00693, allocations: 172.9 kB / 254.3 MB, free: 4.004 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.006959, allocations: 8.375 kB / 254.3 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.006991, allocations: 12.38 kB / 254.4 MB, free: 3.984 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.007243, allocations: 129.9 kB / 254.5 MB, free: 3.836 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.007259, allocations: 11.92 kB / 254.5 MB, free: 3.824 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.00727, allocations: 0 / 254.5 MB, free: 3.824 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.007279, allocations: 0 / 254.5 MB, free: 3.824 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.007352, allocations: 31.92 kB / 254.5 MB, free: 3.793 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.008095, allocations: 0.6223 MB / 255.1 MB, free: 3.125 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.008259, allocations: 70.97 kB / 255.2 MB, free: 3.043 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.008313, allocations: 31.67 kB / 255.2 MB, free: 3.008 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.008323, allocations: 0 / 255.2 MB, free: 3.008 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.008352, allocations: 37.39 kB / 255.3 MB, free: 2.961 MB / 234.7 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.008353, allocations: 0 / 255.3 MB, free: 2.961 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006653/0.009018, allocations: 314.1 kB / 255.6 MB, free: 2.617 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.009053, allocations: 59.41 kB / 255.7 MB, free: 2.547 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.009204, allocations: 217.6 kB / 255.9 MB, free: 2.316 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.00922, allocations: 29.7 kB / 255.9 MB, free: 2.281 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.0093, allocations: 158.8 kB / 256 MB, free: 2.121 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.009335, allocations: 39.61 kB / 256.1 MB, free: 2.082 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.009404, allocations: 43.36 kB / 256.1 MB, free: 2.031 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.00958, allocations: 0.4923 MB / 256.6 MB, free: 1.527 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.009629, allocations: 15.98 kB / 256.6 MB, free: 1.512 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.009704, allocations: 58.73 kB / 256.7 MB, free: 1.438 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.009829, allocations: 86.3 kB / 256.8 MB, free: 1.34 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009831, allocations: 0 / 256.8 MB, free: 1.34 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002126/0.01004, allocations: 121.5 kB / 256.9 MB, free: 1.215 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.01007, allocations: 7.438 kB / 256.9 MB, free: 1.211 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.01008, allocations: 4 kB / 256.9 MB, free: 1.207 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.0101, allocations: 0 / 256.9 MB, free: 1.207 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.01025, allocations: 35.92 kB / 256.9 MB, free: 1.172 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.01026, allocations: 0 / 256.9 MB, free: 1.172 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.01032, allocations: 23.95 kB / 257 MB, free: 1.148 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.01033, allocations: 4 kB / 257 MB, free: 1.145 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.0001124/0.01044, allocations: 160.6 kB / 257.1 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/0.01053, allocations: 19.91 kB / 257.1 MB, free: 0.957 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.01057, allocations: 16.78 kB / 257.2 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01057, allocations: 0 / 257.2 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.01058, allocations: 3.984 kB / 257.2 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01058, allocations: 3.938 kB / 257.2 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.0111, allocations: 421 kB / 257.6 MB, free: 480 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.0111, allocations: 0 / 257.6 MB, free: 480 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.01123, allocations: 35.92 kB / 257.6 MB, free: 444 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.01123, allocations: 3.984 kB / 257.6 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.01125, allocations: 7.938 kB / 257.6 MB, free: 432 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01125, allocations: 0 / 257.6 MB, free: 432 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.01126, allocations: 0 / 257.6 MB, free: 432 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.01154, allocations: 283.2 kB / 257.9 MB, free: 120 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.01156, allocations: 19.83 kB / 257.9 MB, free: 100 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.01158, allocations: 7.938 kB / 257.9 MB, free: 92 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.01167, allocations: 12.06 kB / 257.9 MB, free: 80 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.01172, allocations: 11.97 kB / 258 MB, free: 68 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.01173, allocations: 8 kB / 258 MB, free: 60 kB / 234.7 MB Notification: Performance of sorting global known variables: time 9.532e-05/0.01182, allocations: 151.8 kB / 258.1 MB, free: 15.91 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01182, allocations: 0 / 258.1 MB, free: 15.91 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002802/0.0121, allocations: 24 kB / 258.1 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.0001059/0.01221, allocations: 95.25 kB / 258.2 MB, free: 15.79 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.01241, allocations: 71.66 kB / 258.3 MB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.01241, allocations: 4.062 kB / 258.3 MB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.01248, allocations: 43.61 kB / 258.3 MB, free: 15.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.01289, allocations: 48.16 kB / 258.4 MB, free: 15.61 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.01346, allocations: 305 kB / 258.7 MB, free: 15.28 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.714e-05/0.01352, allocations: 71.97 kB / 258.8 MB, free: 15.19 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.01358, allocations: 9.484 kB / 258.8 MB, free: 15.18 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.01362, allocations: 16.5 kB / 258.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01362, allocations: 4 kB / 258.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of Templates: time 0.005069/0.01869, allocations: 2.003 MB / 260.8 MB, free: 13.17 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.7086799778044224]