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.001349/0.001349, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001578/0.001578, allocations: 164.2 kB / 24.82 MB, free: 9.312 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.072/1.072, allocations: 177 MB / 205.1 MB, free: 5.484 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.953e-06/1.953e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.184e-05, allocations: 6.312 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002452/0.002473, allocations: 1.693 MB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008123/0.003286, allocations: 0.5103 MB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.708e-05/0.003383, allocations: 3.938 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.003502, allocations: 23.73 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/0.003593, allocations: 23.84 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.003751, allocations: 51.88 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.00392, allocations: 111.6 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.004017, allocations: 17.3 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.004097, allocations: 63.81 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.004169, allocations: 31.84 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.00419, allocations: 12 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.004203, allocations: 8 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.004228, allocations: 27.84 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.872e-05/0.004327, allocations: 27.86 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.004444, allocations: 67.73 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004446, allocations: 0 / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.004448, allocations: 3.984 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.004451, allocations: 0 / 276 MB, free: 14.55 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.0004126/0.004864, allocations: 448 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.004903, allocations: 15.98 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.004941, allocations: 28.77 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.005104, allocations: 160.9 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.005122, allocations: 4.375 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.005144, allocations: 12.38 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.005306, allocations: 125.3 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.005317, allocations: 7.938 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.005327, allocations: 4 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.005332, allocations: 4 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.569e-05/0.005368, allocations: 27.05 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.00588, allocations: 0.5955 MB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.005975, allocations: 63.03 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.006003, allocations: 27.66 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.006013, allocations: 4 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.006032, allocations: 37.52 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.006034, allocations: 4 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005804/0.006614, allocations: 285.5 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.006642, allocations: 55.34 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.006744, allocations: 205.8 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006755, allocations: 25.7 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.006817, allocations: 154.7 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.006846, allocations: 59.52 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.006887, allocations: 31.36 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.00701, allocations: 0.5 MB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.007033, allocations: 12 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.007074, allocations: 58.7 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.327e-05/0.007148, allocations: 78.67 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007149, allocations: 0 / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001198/0.007269, allocations: 101.6 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.007286, allocations: 8 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.007292, allocations: 0 / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.007304, allocations: 4.094 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.007409, allocations: 39.92 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.007414, allocations: 7.984 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.007446, allocations: 8 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.007453, allocations: 7.938 kB / 279.2 MB, free: 11.11 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.314e-05/0.007526, allocations: 160.5 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.007549, allocations: 19.91 kB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.007581, allocations: 20.77 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.007583, allocations: 0 / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.007586, allocations: 0 / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.007591, allocations: 7.984 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.007935, allocations: 398.1 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.007937, allocations: 0 / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/0.008023, allocations: 27.98 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.008026, allocations: 0 / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.008037, allocations: 4 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.008041, allocations: 4 kB / 279.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.008044, allocations: 3.938 kB / 279.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.008267, allocations: 283.1 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.008284, allocations: 11.95 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.008298, allocations: 0 / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.008356, allocations: 7.984 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.008399, allocations: 19.92 kB / 280.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.008404, allocations: 0 / 280.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.637e-05/0.008471, allocations: 153.4 kB / 280.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008471, allocations: 0 / 280.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.008641, allocations: 20 kB / 280.3 MB, free: 9.906 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 9.981e-05/0.00874, allocations: 99.19 kB / 280.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.008855, allocations: 63.59 kB / 280.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.008856, allocations: 3.938 kB / 280.4 MB, free: 9.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.913e-05/0.008895, allocations: 35.92 kB / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.009163, allocations: 48.02 kB / 280.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.009566, allocations: 298.2 kB / 280.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.009611, allocations: 71.86 kB / 280.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.009659, allocations: 13.48 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.772e-05/0.009747, allocations: 106.2 kB / 281 MB, free: 9.105 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.009748, allocations: 0 / 281 MB, free: 9.105 MB / 266.7 MB Notification: Performance of Templates: time 0.00382/0.01357, allocations: 2.024 MB / 283 MB, free: 7.121 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.7700000652112067]