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.001711/0.001711, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.002782/0.002782, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.533/1.533, allocations: 230.2 MB / 254.5 MB, free: 15.22 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.001915/0.001915, allocations: 63.89 kB / 373.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.1013, allocations: 53.32 MB / 427.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002969/0.1042, allocations: 1.692 MB / 428.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009712/0.1052, allocations: 0.5143 MB / 429.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.1053, allocations: 8 kB / 429.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.1054, allocations: 15.8 kB / 429.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.359e-05/0.1055, allocations: 23.8 kB / 429.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.1056, allocations: 47.88 kB / 429.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1058, allocations: 111.6 kB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.106, allocations: 25.09 kB / 429.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.106, allocations: 43.73 kB / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.503e-05/0.1061, allocations: 47.72 kB / 429.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.1061, allocations: 8 kB / 429.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.1062, allocations: 8 kB / 429.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.1062, allocations: 19.92 kB / 429.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.1063, allocations: 47.67 kB / 429.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.1064, allocations: 99.5 kB / 429.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1064, allocations: 0 / 429.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1064, allocations: 0 / 429.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1064, allocations: 0 / 429.8 MB, free: 1.754 MB / 350.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.00065/0.1071, allocations: 426.9 kB / 430.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1071, allocations: 12.03 kB / 430.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.1072, allocations: 20.83 kB / 430.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.1075, allocations: 219.1 kB / 430.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1075, allocations: 4.375 kB / 430.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.1076, allocations: 24.08 kB / 430.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.1079, allocations: 134.8 kB / 430.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1079, allocations: 7.938 kB / 430.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1079, allocations: 4 kB / 430.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1079, allocations: 0 / 430.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.1082, allocations: 67.94 kB / 430.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008012/0.109, allocations: 0.5554 MB / 431.3 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.1093, allocations: 122.5 kB / 431.4 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.1095, allocations: 56.83 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1095, allocations: 4 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1096, allocations: 30.56 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.427e-06/0.1096, allocations: 3.984 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.001238/0.1108, allocations: 0.5155 MB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.1108, allocations: 51.41 kB / 432.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.111, allocations: 154.2 kB / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.111, allocations: 29.7 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.1111, allocations: 116 kB / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.1111, allocations: 43.64 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.1112, allocations: 29.72 kB / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1114, allocations: 322.8 kB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.1115, allocations: 63.83 kB / 432.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1117, allocations: 83.45 kB / 432.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.112, allocations: 133.7 kB / 433 MB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.112, allocations: 4 kB / 433 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003951/0.1124, allocations: 178.4 kB / 433.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1125, allocations: 4 kB / 433.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1125, allocations: 8.031 kB / 433.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1125, allocations: 4 kB / 433.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1126, allocations: 39.91 kB / 433.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1127, allocations: 0 / 433.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.1127, allocations: 15.98 kB / 433.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1127, allocations: 7.984 kB / 433.3 MB, free: 14.01 MB / 366.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.0001165/0.1129, allocations: 117.8 kB / 433.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.1129, allocations: 15.91 kB / 433.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.1129, allocations: 24.59 kB / 433.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1129, allocations: 7.984 kB / 433.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.1129, allocations: 0 / 433.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.113, allocations: 0 / 433.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008253/0.1138, allocations: 500 kB / 433.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1138, allocations: 0 / 433.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.1139, allocations: 35.91 kB / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1139, allocations: 0 / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.114, allocations: 8 kB / 434 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.114, allocations: 4 kB / 434 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.114, allocations: 0 / 434 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.1145, allocations: 320.9 kB / 434.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.1146, allocations: 93.02 kB / 434.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1146, allocations: 8 kB / 434.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1147, allocations: 12.03 kB / 434.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.1148, allocations: 11.98 kB / 434.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1148, allocations: 7.984 kB / 434.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.054e-05/0.1149, allocations: 112.1 kB / 434.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1149, allocations: 0 / 434.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1151, allocations: 20 kB / 434.6 MB, free: 12.62 MB / 366.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.0001019/0.1152, allocations: 103.2 kB / 434.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.1156, allocations: 119.8 kB / 434.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1156, allocations: 0 / 434.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.1158, allocations: 72.2 kB / 434.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1162, allocations: 38.69 kB / 434.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/0.1168, allocations: 319.6 kB / 435.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1171, allocations: 0.7161 MB / 435.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.1172, allocations: 13.52 kB / 435.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.1172, allocations: 15.44 kB / 435.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1172, allocations: 0 / 435.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of Templates: time 0.004765/0.122, allocations: 1.719 MB / 437.7 MB, free: 9.469 MB / 366.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.586038132198155]