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.0008877/0.0008877, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00346/0.00346, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8926/0.8926, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.413e-06/1.413e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.754e-05, allocations: 3.125 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001942/0.00197, allocations: 1.661 MB / 327.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006456/0.002615, allocations: 494.8 kB / 327.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.002692, allocations: 7.875 kB / 327.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.002799, allocations: 11.86 kB / 327.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/0.002866, allocations: 31.73 kB / 328 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.003009, allocations: 47.94 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.003159, allocations: 127.5 kB / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.003277, allocations: 21.08 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.161e-05/0.003348, allocations: 59.81 kB / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.003416, allocations: 31.91 kB / 328.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.003441, allocations: 8 kB / 328.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.003453, allocations: 8 kB / 328.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.003477, allocations: 27.84 kB / 328.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.003507, allocations: 23.92 kB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.003632, allocations: 91.62 kB / 328.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003634, allocations: 4 kB / 328.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.003636, allocations: 0 / 328.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.00364, allocations: 0 / 328.4 MB, free: 12.71 MB / 298.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.0004366/0.004076, allocations: 353.7 kB / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.004112, allocations: 11.98 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.004147, allocations: 20.83 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.004361, allocations: 162.1 kB / 328.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.004377, allocations: 12.38 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.004402, allocations: 8.328 kB / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.004597, allocations: 136.7 kB / 329.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.004607, allocations: 3.938 kB / 329.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.004617, allocations: 0 / 329.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004623, allocations: 4 kB / 329.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.004743, allocations: 71.88 kB / 329.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.005208, allocations: 492.4 kB / 329.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.005406, allocations: 126.5 kB / 329.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.005482, allocations: 53.02 kB / 329.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.005494, allocations: 3.938 kB / 329.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.005516, allocations: 42.55 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.005517, allocations: 0 / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007016/0.006218, allocations: 440.7 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.006248, allocations: 59.34 kB / 330.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.006344, allocations: 158.8 kB / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.006356, allocations: 29.7 kB / 330.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.006411, allocations: 116 kB / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.006431, allocations: 35.66 kB / 330.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.006469, allocations: 37.7 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.006542, allocations: 322.8 kB / 331 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.006627, allocations: 51.95 kB / 331.1 MB, free: 9.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.493e-05/0.006722, allocations: 83.39 kB / 331.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.006883, allocations: 131.3 kB / 331.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.006885, allocations: 0 / 331.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000204/0.007089, allocations: 177.5 kB / 331.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.007104, allocations: 11.28 kB / 331.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.007109, allocations: 0 / 331.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.007121, allocations: 0 / 331.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.007221, allocations: 44 kB / 331.5 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.007228, allocations: 4 kB / 331.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.00727, allocations: 19.92 kB / 331.6 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.007277, allocations: 4 kB / 331.6 MB, free: 9.312 MB / 298.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 6.819e-05/0.007345, allocations: 121.8 kB / 331.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.007362, allocations: 19.84 kB / 331.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.007391, allocations: 8.781 kB / 331.7 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.007394, allocations: 4 kB / 331.7 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.007399, allocations: 3.984 kB / 331.7 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.007403, allocations: 7.938 kB / 331.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/0.008097, allocations: 424.6 kB / 332.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.008099, allocations: 0 / 332.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.008189, allocations: 32.05 kB / 332.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.008192, allocations: 3.984 kB / 332.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.008203, allocations: 11.94 kB / 332.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.008205, allocations: 4 kB / 332.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008207, allocations: 0 / 332.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.008523, allocations: 317.2 kB / 332.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.008537, allocations: 19.88 kB / 332.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.008554, allocations: 7.938 kB / 332.5 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.008607, allocations: 16.02 kB / 332.5 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.008648, allocations: 15.97 kB / 332.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.008653, allocations: 4 kB / 332.6 MB, free: 8.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.008704, allocations: 115.2 kB / 332.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008704, allocations: 0 / 332.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.008865, allocations: 16 kB / 332.7 MB, free: 8.113 MB / 298.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.073e-05/0.008946, allocations: 103.2 kB / 332.8 MB, free: 8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.009151, allocations: 123.2 kB / 332.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.009153, allocations: 0 / 332.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/0.009238, allocations: 67.89 kB / 333 MB, free: 7.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.009518, allocations: 44.27 kB / 333 MB, free: 7.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.009959, allocations: 317.2 kB / 333.3 MB, free: 7.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.058e-05/0.01002, allocations: 98.77 kB / 333.4 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.01005, allocations: 24.5 kB / 333.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01006, allocations: 0 / 333.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of Templates: time 0.002234/0.01229, allocations: 1.739 MB / 335.2 MB, free: 5.551 MB / 298.7 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.134377869777381]