Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0018/0.0018, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00225/0.00225, allocations: 212.4 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.3 MB / 258 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002867/0.002867, allocations: 63.89 kB / 378.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3301, allocations: 53.37 MB / 432.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003061/0.3332, allocations: 1.694 MB / 433.8 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000997/0.3342, allocations: 0.5259 MB / 434.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.3343, allocations: 7.938 kB / 434.3 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.3344, allocations: 19.8 kB / 434.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.467e-05/0.3345, allocations: 23.8 kB / 434.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.3346, allocations: 47.88 kB / 434.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.3348, allocations: 115.6 kB / 434.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.335, allocations: 17.31 kB / 434.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.335, allocations: 47.83 kB / 434.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.3351, allocations: 51.66 kB / 434.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.3352, allocations: 8 kB / 434.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.3352, allocations: 8 kB / 434.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.3352, allocations: 19.92 kB / 434.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.3353, allocations: 47.61 kB / 434.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.3355, allocations: 105.1 kB / 434.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3355, allocations: 0 / 434.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3355, allocations: 0 / 434.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3355, allocations: 0 / 434.8 MB, free: 4.355 MB / 334.1 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.0006333/0.3361, allocations: 353.8 kB / 435.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3361, allocations: 8.031 kB / 435.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.3362, allocations: 16.84 kB / 435.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.3365, allocations: 166.4 kB / 435.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3365, allocations: 4.375 kB / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.3365, allocations: 16.08 kB / 435.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.3368, allocations: 138.9 kB / 435.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3369, allocations: 3.938 kB / 435.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3369, allocations: 0 / 435.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.3369, allocations: 4 kB / 435.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.3371, allocations: 59.95 kB / 435.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/0.3378, allocations: 0.5195 MB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.3382, allocations: 130.4 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.3384, allocations: 60.81 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3384, allocations: 0 / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3384, allocations: 30.56 kB / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3384, allocations: 0 / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001237/0.3397, allocations: 453.6 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3397, allocations: 59.41 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3399, allocations: 153.3 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3399, allocations: 25.7 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.191e-05/0.34, allocations: 108 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.34, allocations: 47.58 kB / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.3401, allocations: 29.72 kB / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3402, allocations: 326.8 kB / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.3404, allocations: 51.95 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.3406, allocations: 83.42 kB / 437.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.3409, allocations: 139.3 kB / 437.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3409, allocations: 3.938 kB / 437.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004025/0.3413, allocations: 181 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3413, allocations: 4 kB / 438 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3413, allocations: 7.938 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3413, allocations: 0 / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3415, allocations: 39.97 kB / 438 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3415, allocations: 3.938 kB / 438 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.3416, allocations: 15.98 kB / 438 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3416, allocations: 12 kB / 438 MB, free: 0.918 MB / 334.1 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.000102/0.3417, allocations: 117.9 kB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.3418, allocations: 11.91 kB / 438.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.3418, allocations: 24.64 kB / 438.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3418, allocations: 0 / 438.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3418, allocations: 0 / 438.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3418, allocations: 0 / 438.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008526/0.3427, allocations: 471 kB / 438.7 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3427, allocations: 3.938 kB / 438.7 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.3429, allocations: 39.91 kB / 438.7 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3429, allocations: 4 kB / 438.7 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3429, allocations: 0 / 438.7 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3429, allocations: 4.062 kB / 438.7 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3429, allocations: 7.984 kB / 438.7 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/0.3436, allocations: 320.9 kB / 439 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.3436, allocations: 11.91 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3436, allocations: 0 / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3437, allocations: 16.03 kB / 439.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.3438, allocations: 11.97 kB / 439.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3438, allocations: 8 kB / 439.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.776e-05/0.3439, allocations: 112.1 kB / 439.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3439, allocations: 0 / 439.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.3442, allocations: 31.88 kB / 439.2 MB, free: 15.66 MB / 350.1 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.0001302/0.3443, allocations: 95.34 kB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00041/0.3447, allocations: 123.8 kB / 439.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3447, allocations: 192 / 439.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.3449, allocations: 67.89 kB / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.3453, allocations: 39.62 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.346, allocations: 320.4 kB / 439.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.3463, allocations: 0.7122 MB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.222e-05/0.3464, allocations: 17.42 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.3464, allocations: 15.44 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3464, allocations: 0 / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of Templates: time 0.00514/0.3516, allocations: 1.788 MB / 442.4 MB, free: 12.44 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.730768484994769]