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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001787/0.001787, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002465/0.002464, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.769/3.769, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.5016, allocations: 50.55 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.004538/0.5062, allocations: 1.681 MB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.5077, allocations: 0.5143 MB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.5079, allocations: 4 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.5081, allocations: 15.75 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.5084, allocations: 19.8 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.5087, allocations: 51.92 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.509, allocations: 111.6 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.5092, allocations: 33.05 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.5093, allocations: 35.84 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.5095, allocations: 55.64 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.5095, allocations: 8 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.371e-05/0.5095, allocations: 4 kB / 412.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.5096, allocations: 23.92 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.5097, allocations: 47.67 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.51, allocations: 95.23 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.51, allocations: 0 / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.51, allocations: 0 / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.51, allocations: 4 kB / 412.6 MB, free: 14.92 MB / 334.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.0008472/0.5109, allocations: 428.4 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.511, allocations: 12.03 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.511, allocations: 12.75 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.5115, allocations: 219.6 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.5115, allocations: 12.38 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.5116, allocations: 16.12 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.5121, allocations: 122.6 kB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.5121, allocations: 0 / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.5121, allocations: 8 kB / 413.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.5122, allocations: 3.938 kB / 413.4 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.5125, allocations: 75.88 kB / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.5137, allocations: 0.5476 MB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.5143, allocations: 126.4 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.5146, allocations: 60.81 kB / 414.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.5147, allocations: 0 / 414.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.5147, allocations: 34.56 kB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.5148, allocations: 0 / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002146/0.5169, allocations: 0.5135 MB / 414.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.517, allocations: 55.41 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.5173, allocations: 149.3 kB / 415 MB, free: 12.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.5173, allocations: 29.7 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5174, allocations: 107.9 kB / 415.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.5175, allocations: 47.39 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/0.5176, allocations: 29.7 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5178, allocations: 326.8 kB / 415.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.5181, allocations: 51.95 kB / 415.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.5185, allocations: 86.11 kB / 415.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/0.5191, allocations: 131.3 kB / 415.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5191, allocations: 0 / 415.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007304/0.5199, allocations: 185 kB / 416 MB, free: 11.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.5199, allocations: 4 kB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.5199, allocations: 8.875 kB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.52, allocations: 0 / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.5203, allocations: 35.97 kB / 416 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.5204, allocations: 4 kB / 416 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.5205, allocations: 20.08 kB / 416 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.5206, allocations: 4 kB / 416 MB, free: 11.2 MB / 334.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.0001622/0.5208, allocations: 125.7 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.5208, allocations: 11.81 kB / 416.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.848e-05/0.5209, allocations: 20.66 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.5209, allocations: 0 / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.521, allocations: 7.938 kB / 416.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.521, allocations: 7.984 kB / 416.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.5224, allocations: 496 kB / 416.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.5224, allocations: 0 / 416.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.5228, allocations: 39.86 kB / 416.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5228, allocations: 4.062 kB / 416.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.5228, allocations: 7.984 kB / 416.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.5229, allocations: 4 kB / 416.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5229, allocations: 0 / 416.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.5239, allocations: 312.9 kB / 417.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.524, allocations: 93.09 kB / 417.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.5241, allocations: 0 / 417.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.5243, allocations: 12.03 kB / 417.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/0.5244, allocations: 19.92 kB / 417.2 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.5245, allocations: 0 / 417.2 MB, free: 9.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.5246, allocations: 119.2 kB / 417.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5246, allocations: 0 / 417.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004092/0.5251, allocations: 20 kB / 417.3 MB, free: 9.812 MB / 334.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.0001443/0.5252, allocations: 103.1 kB / 417.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005853/0.5258, allocations: 128 kB / 417.5 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5258, allocations: 3.938 kB / 417.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.5262, allocations: 67.89 kB / 417.6 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/0.5269, allocations: 40.39 kB / 417.6 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.5281, allocations: 350 kB / 418 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.5284, allocations: 0.7084 MB / 418.7 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.5285, allocations: 15.44 kB / 418.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5285, allocations: 0 / 418.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of Templates: time 0.005253/0.5338, allocations: 1.709 MB / 420.4 MB, free: 6.637 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches