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.001255/0.001255, allocations: 89.77 kB / 20.69 MB, free: 1.02 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.001412/0.001412, allocations: 157.6 kB / 23.95 MB, free: 4.152 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.428/1.428, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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 1.703e-06/1.703e-06, allocations: 0 / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.397e-05, allocations: 2.281 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002837/0.002861, allocations: 1.647 MB / 326.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003921, allocations: 500 kB / 327.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.004041, allocations: 6.625 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.004154, allocations: 15.23 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.004256, allocations: 30.67 kB / 327.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.004443, allocations: 47.64 kB / 327.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.004656, allocations: 117.9 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004763, allocations: 20.12 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.004874, allocations: 62.36 kB / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.011e-05/0.004964, allocations: 35.17 kB / 327.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.00499, allocations: 7.812 kB / 327.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.878e-05/0.005008, allocations: 7.969 kB / 327.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.00504, allocations: 26.48 kB / 327.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.005081, allocations: 24.42 kB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.005252, allocations: 97.33 kB / 327.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.005255, allocations: 0.9375 kB / 327.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005257, allocations: 5.156 kB / 327.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005261, allocations: 0 / 327.6 MB, free: 14.75 MB / 302.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.0006669/0.005928, allocations: 348 kB / 328 MB, free: 14.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.005964, allocations: 14.42 kB / 328 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.006014, allocations: 14.34 kB / 328 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.006306, allocations: 163.7 kB / 328.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.006327, allocations: 12.69 kB / 328.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.006357, allocations: 10.8 kB / 328.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.006679, allocations: 133.2 kB / 328.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.006699, allocations: 11.86 kB / 328.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.006713, allocations: 7.938 kB / 328.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.006718, allocations: 2.656 kB / 328.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.006921, allocations: 65.98 kB / 328.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007345/0.007655, allocations: 491.4 kB / 328.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.008041, allocations: 129.5 kB / 329 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.0082, allocations: 53.7 kB / 329.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.008215, allocations: 5.375 kB / 329.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.008248, allocations: 36.28 kB / 329.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.008249, allocations: 0 / 329.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.00121/0.009459, allocations: 443.2 kB / 329.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.009506, allocations: 52.66 kB / 329.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.009663, allocations: 159.8 kB / 329.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.009684, allocations: 26.98 kB / 329.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.009771, allocations: 117.5 kB / 329.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.009805, allocations: 39.92 kB / 329.9 MB, free: 13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.009865, allocations: 35.08 kB / 330 MB, free: 12.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.01001, allocations: 321.9 kB / 330.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.01017, allocations: 53.12 kB / 330.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.01036, allocations: 84.92 kB / 330.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.01069, allocations: 127.2 kB / 330.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01069, allocations: 5.094 kB / 330.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004166/0.01111, allocations: 179.4 kB / 330.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.01112, allocations: 5.469 kB / 330.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01113, allocations: 1.125 kB / 330.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.01114, allocations: 2.594 kB / 330.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.01132, allocations: 39.09 kB / 330.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.619e-06/0.01133, allocations: 5.953 kB / 330.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.271e-05/0.01142, allocations: 20.09 kB / 330.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.01143, allocations: 4.062 kB / 330.8 MB, free: 12.44 MB / 302.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.0001091/0.01154, allocations: 120.4 kB / 330.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.01158, allocations: 13.56 kB / 330.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.01162, allocations: 13.14 kB / 330.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01162, allocations: 5.938 kB / 330.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01163, allocations: 0 / 330.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01163, allocations: 12.95 kB / 331 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007985/0.01243, allocations: 423 kB / 331.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01243, allocations: 1.125 kB / 331.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.01261, allocations: 39.77 kB / 331.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.01261, allocations: 0.9375 kB / 331.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.01263, allocations: 10.03 kB / 331.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01264, allocations: 1.703 kB / 331.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01264, allocations: 5.156 kB / 331.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.01326, allocations: 312.1 kB / 331.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.01329, allocations: 17.19 kB / 331.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.01331, allocations: 10 kB / 331.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.01343, allocations: 11.55 kB / 331.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.01348, allocations: 17.39 kB / 331.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.01349, allocations: 6.875 kB / 331.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.395e-05/0.01359, allocations: 117.1 kB / 331.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01359, allocations: 0 / 331.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.01385, allocations: 15.91 kB / 331.9 MB, free: 11.66 MB / 302.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.0001098/0.01396, allocations: 98.53 kB / 332 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000385/0.01435, allocations: 124.4 kB / 332.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01435, allocations: 1.156 kB / 332.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.01453, allocations: 65.64 kB / 332.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.01494, allocations: 54.84 kB / 332.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.01559, allocations: 292.9 kB / 332.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.795e-05/0.01569, allocations: 97.73 kB / 332.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.944e-05/0.01575, allocations: 16.48 kB / 332.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.0158, allocations: 20.84 kB / 332.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.0158, allocations: 0 / 332.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of Templates: time 0.005404/0.0212, allocations: 1.831 MB / 334.5 MB, free: 10.19 MB / 302.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.12855276837945]