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.001192/0.001192, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001147/0.001147, allocations: 162.4 kB / 24.99 MB, free: 9.281 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 1.002/1.002, allocations: 177 MB / 205.2 MB, free: 5.621 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 3.006e-06/3.006e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.564e-05, allocations: 2.312 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002334/0.002369, allocations: 1.701 MB / 274.7 MB, free: 80 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000922/0.003291, allocations: 0.5025 MB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.003377, allocations: 3.938 kB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.003489, allocations: 19.8 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.559e-05/0.003565, allocations: 31.78 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.003735, allocations: 51.88 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.003893, allocations: 119.6 kB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003999, allocations: 21.28 kB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.00408, allocations: 59.83 kB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.585e-05/0.004156, allocations: 31.83 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.004181, allocations: 8 kB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.004195, allocations: 8 kB / 275.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.004221, allocations: 19.92 kB / 275.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.004253, allocations: 23.88 kB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004391, allocations: 83.66 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.004393, allocations: 0 / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004394, allocations: 0 / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004398, allocations: 0 / 275.7 MB, free: 15.1 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.0004667/0.004865, allocations: 448 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.004902, allocations: 11.98 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.004955, allocations: 16.89 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.005156, allocations: 172.9 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.005179, allocations: 8.375 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.005204, allocations: 8.375 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.005402, allocations: 129.9 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.005414, allocations: 3.938 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.005426, allocations: 4 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.005434, allocations: 7.938 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.866e-05/0.005493, allocations: 34.62 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.006042, allocations: 0.6183 MB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.006167, allocations: 75.03 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.006208, allocations: 27.67 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.006218, allocations: 4 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.006239, allocations: 33.39 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.006241, allocations: 0 / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005398/0.00678, allocations: 310.3 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.006814, allocations: 55.41 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.006931, allocations: 205.8 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.006944, allocations: 33.7 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.007018, allocations: 162.7 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.007043, allocations: 47.58 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.007083, allocations: 35.36 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.007192, allocations: 0.4923 MB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.007227, allocations: 19.98 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.00728, allocations: 58.73 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.011e-05/0.00737, allocations: 90.61 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007372, allocations: 4 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001371/0.007509, allocations: 113.5 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.007522, allocations: 4 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007527, allocations: 0 / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.007542, allocations: 4 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.007649, allocations: 35.91 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.007655, allocations: 0 / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.007689, allocations: 15.94 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.007695, allocations: 4 kB / 278.9 MB, free: 11.56 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.106e-05/0.007766, allocations: 168.7 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.00779, allocations: 19.84 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.007819, allocations: 12.78 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007822, allocations: 4 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.007826, allocations: 0 / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.00783, allocations: 3.938 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.008184, allocations: 424.8 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008186, allocations: 64 / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.008282, allocations: 31.98 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.008287, allocations: 4 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.008299, allocations: 7.938 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.008301, allocations: 4 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008303, allocations: 0 / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.008509, allocations: 287.1 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.008522, allocations: 11.91 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.008539, allocations: 7.938 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.735e-05/0.008586, allocations: 7.984 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.008629, allocations: 19.98 kB / 279.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.008633, allocations: 0 / 279.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.949e-05/0.008692, allocations: 157.4 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008692, allocations: 0 / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.008855, allocations: 20 kB / 280.1 MB, free: 10.3 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 7.771e-05/0.008933, allocations: 95.19 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.009066, allocations: 71.58 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.009068, allocations: 0 / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.009113, allocations: 48.02 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.009379, allocations: 44.91 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.009818, allocations: 294 kB / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.009871, allocations: 71.83 kB / 280.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.009926, allocations: 17.66 kB / 280.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.009975, allocations: 16.5 kB / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009976, allocations: 3.938 kB / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of Templates: time 0.003605/0.01358, allocations: 1.855 MB / 282.6 MB, free: 7.758 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] 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","",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.8369480080436915]