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.001/0.001, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.0008805/0.0008805, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.9294/0.9294, allocations: 173.4 MB / 201.1 MB, free: 9.004 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 2.385e-06/2.385e-06, allocations: 4 kB / 268 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.867e-05, allocations: 2.312 kB / 268 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001864/0.001883, allocations: 1.676 MB / 269.7 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005998/0.002483, allocations: 486.7 kB / 270.1 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.002553, allocations: 3.938 kB / 270.1 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.002654, allocations: 19.8 kB / 270.2 MB, free: 4.109 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.839e-05/0.002723, allocations: 27.8 kB / 270.2 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.002868, allocations: 55.81 kB / 270.2 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003003, allocations: 119.5 kB / 270.4 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.003102, allocations: 13.31 kB / 270.4 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.572e-05/0.003177, allocations: 67.8 kB / 270.4 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.003242, allocations: 31.84 kB / 270.5 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003261, allocations: 8 kB / 270.5 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.003273, allocations: 8 kB / 270.5 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.003295, allocations: 27.91 kB / 270.5 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.003327, allocations: 27.88 kB / 270.5 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.003441, allocations: 71.66 kB / 270.6 MB, free: 3.656 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003443, allocations: 3.938 kB / 270.6 MB, free: 3.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003444, allocations: 0 / 270.6 MB, free: 3.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.003448, allocations: 0 / 270.6 MB, free: 3.652 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.0003965/0.003844, allocations: 444.1 kB / 271 MB, free: 3.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.003883, allocations: 8.922 kB / 271.1 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.003925, allocations: 24.84 kB / 271.1 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.004089, allocations: 163.9 kB / 271.2 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.004109, allocations: 8.375 kB / 271.2 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.004137, allocations: 19.89 kB / 271.3 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.004316, allocations: 132.4 kB / 271.4 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.004326, allocations: 3.984 kB / 271.4 MB, free: 2.789 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.004338, allocations: 4 kB / 271.4 MB, free: 2.785 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.004346, allocations: 4 kB / 271.4 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.057e-05/0.004397, allocations: 23.97 kB / 271.4 MB, free: 2.758 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.004891, allocations: 0.6261 MB / 272.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.005003, allocations: 71.03 kB / 272.1 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.00504, allocations: 27.67 kB / 272.2 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.005051, allocations: 4 kB / 272.2 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.00507, allocations: 37.39 kB / 272.2 MB, free: 1.922 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.005071, allocations: 0 / 272.2 MB, free: 1.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004825/0.005553, allocations: 322 kB / 272.5 MB, free: 1.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.005578, allocations: 55.41 kB / 272.6 MB, free: 1.504 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.00569, allocations: 209.8 kB / 272.8 MB, free: 1.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.0057, allocations: 29.7 kB / 272.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.005762, allocations: 158.7 kB / 273 MB, free: 1.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.005785, allocations: 43.58 kB / 273 MB, free: 1.043 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.005824, allocations: 43.36 kB / 273 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.005996, allocations: 0.4923 MB / 273.5 MB, free: 500 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/0.006029, allocations: 23.98 kB / 273.6 MB, free: 476 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-05/0.006076, allocations: 54.73 kB / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.747e-05/0.006153, allocations: 82.67 kB / 273.7 MB, free: 304 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006154, allocations: 4 kB / 273.7 MB, free: 300 kB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001333/0.006288, allocations: 113.5 kB / 273.8 MB, free: 180 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006301, allocations: 10.66 kB / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.006305, allocations: 0 / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.00632, allocations: 3.938 kB / 273.8 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/0.006418, allocations: 43.91 kB / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.006423, allocations: 0 / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.006454, allocations: 12.09 kB / 273.9 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.006461, allocations: 8 kB / 273.9 MB, free: 104 kB / 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 7.356e-05/0.006535, allocations: 160.6 kB / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.006557, allocations: 19.84 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.006586, allocations: 16.78 kB / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.006588, allocations: 3.938 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.006591, allocations: 0 / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.006595, allocations: 4 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.006944, allocations: 425 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.006947, allocations: 4 kB / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/0.007029, allocations: 23.98 kB / 274.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007031, allocations: 0 / 274.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.007039, allocations: 7.938 kB / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.00704, allocations: 0 / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.007041, allocations: 0 / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.007227, allocations: 295.1 kB / 274.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.007239, allocations: 11.91 kB / 274.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.007254, allocations: 12.06 kB / 274.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.587e-05/0.0073, allocations: 7.984 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.007338, allocations: 11.98 kB / 274.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.007343, allocations: 4 kB / 274.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.007399, allocations: 157.6 kB / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007399, allocations: 0 / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.007561, allocations: 16 kB / 275 MB, free: 14.86 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 6.988e-05/0.007631, allocations: 99.19 kB / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.007752, allocations: 79.52 kB / 275.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007754, allocations: 0 / 275.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.323e-05/0.007797, allocations: 43.61 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.008052, allocations: 48.16 kB / 275.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.008451, allocations: 302.3 kB / 275.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.008491, allocations: 71.83 kB / 275.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.314e-05/0.008525, allocations: 13.48 kB / 275.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.00856, allocations: 16.5 kB / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of SimCode: time 4.5e-07/0.008561, allocations: 0 / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Templates: time 0.003255/0.01182, allocations: 1.881 MB / 277.6 MB, free: 12.28 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.828951505944133]