Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001051/0.001051, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001198/0.001198, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.935e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002281/0.002311, allocations: 1.709 MB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.003101, allocations: 0.5103 MB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.003184, allocations: 4 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.003307, allocations: 19.73 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.003383, allocations: 23.8 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.003564, allocations: 43.94 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.003724, allocations: 119.6 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.00383, allocations: 17.3 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.409e-05/0.003914, allocations: 63.77 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.003986, allocations: 39.81 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.004012, allocations: 12 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.004025, allocations: 8 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.004047, allocations: 15.92 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.004084, allocations: 31.86 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.004224, allocations: 63.73 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.004227, allocations: 0 / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.004228, allocations: 0 / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.004234, allocations: 4 kB / 275.6 MB, free: 14.84 MB / 266.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.0004975/0.004731, allocations: 448 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.004773, allocations: 8.031 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.004825, allocations: 24.89 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.005027, allocations: 168.9 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.005049, allocations: 4.375 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.005076, allocations: 12.38 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.005275, allocations: 133.2 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.005288, allocations: 3.938 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.0053, allocations: 4 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.005309, allocations: 8 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.377e-05/0.005363, allocations: 27.92 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.005912, allocations: 0.6145 MB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.006051, allocations: 75.03 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.006091, allocations: 27.67 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.006101, allocations: 192 / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.006124, allocations: 41.33 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.006126, allocations: 4 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005883/0.006714, allocations: 313.4 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.006745, allocations: 51.41 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.006865, allocations: 212.3 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.006877, allocations: 29.7 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.00695, allocations: 154.8 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.006977, allocations: 51.52 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.007025, allocations: 39.36 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.007136, allocations: 0.4923 MB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.007172, allocations: 16 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.007224, allocations: 64.59 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.971e-05/0.007313, allocations: 86.31 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.007316, allocations: 4 kB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001403/0.007456, allocations: 113.5 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.007469, allocations: 4 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.007475, allocations: 4 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.007488, allocations: 3.938 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.007595, allocations: 40.06 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.0076, allocations: 0 / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.007635, allocations: 11.94 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.007644, allocations: 7.984 kB / 278.9 MB, free: 11.3 MB / 266.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.498e-05/0.007719, allocations: 164.5 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.007743, allocations: 15.91 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.007779, allocations: 24.75 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007781, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.007785, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.007789, allocations: 7.938 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.008158, allocations: 420.6 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.00816, allocations: 0 / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.008254, allocations: 27.98 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.008257, allocations: 0 / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.008273, allocations: 11.94 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.008275, allocations: 0 / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.008278, allocations: 3.938 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.008512, allocations: 292.3 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.008526, allocations: 11.91 kB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.008546, allocations: 11.94 kB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/0.008595, allocations: 7.984 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.008643, allocations: 11.98 kB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.008649, allocations: 4 kB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.775e-05/0.008716, allocations: 155 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008716, allocations: 3.938 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.008883, allocations: 24 kB / 280.1 MB, free: 10.04 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 8.72e-05/0.00897, allocations: 95.25 kB / 280.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.009116, allocations: 67.59 kB / 280.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.009118, allocations: 0 / 280.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.009166, allocations: 51.53 kB / 280.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.00945, allocations: 44.09 kB / 280.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.009873, allocations: 302.2 kB / 280.6 MB, free: 9.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.383e-05/0.009917, allocations: 68 kB / 280.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.501e-05/0.009962, allocations: 13.48 kB / 280.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.01, allocations: 16.5 kB / 280.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01, allocations: 0 / 280.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of Templates: time 0.003866/0.01387, allocations: 1.98 MB / 282.7 MB, free: 7.387 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.824111917987466]