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.001455/0.001455, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001756/0.001756, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2544, allocations: 50.55 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002696/0.2571, allocations: 1.682 MB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008422/0.258, allocations: 0.5104 MB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.2581, allocations: 7.938 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.2582, allocations: 15.8 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.94e-05/0.2583, allocations: 23.8 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.2584, allocations: 47.94 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.2586, allocations: 111.6 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2587, allocations: 25.11 kB / 412.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.2588, allocations: 39.8 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.736e-05/0.2589, allocations: 55.64 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.2589, allocations: 8 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.2589, allocations: 8 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.259, allocations: 19.92 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.259, allocations: 47.67 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.2591, allocations: 99.23 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2592, allocations: 0 / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2592, allocations: 0 / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2592, allocations: 0 / 412.6 MB, free: 14.9 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.0005936/0.2598, allocations: 428.4 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2598, allocations: 8.031 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.2599, allocations: 20.75 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.2602, allocations: 217.7 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2602, allocations: 4.375 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.2602, allocations: 16.12 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.2605, allocations: 130.6 kB / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2605, allocations: 0 / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2606, allocations: 4 kB / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2606, allocations: 0 / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.2608, allocations: 71.88 kB / 413.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007498/0.2615, allocations: 0.5515 MB / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.2619, allocations: 126.4 kB / 414.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.262, allocations: 64.77 kB / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.262, allocations: 0 / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2621, allocations: 42.56 kB / 414.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 3.526e-06/0.2621, allocations: 3.984 kB / 414.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001075/0.2632, allocations: 0.5135 MB / 414.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.2632, allocations: 51.41 kB / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.2633, allocations: 150.2 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2633, allocations: 29.7 kB / 415 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.2634, allocations: 107.9 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.2635, allocations: 43.41 kB / 415.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.2635, allocations: 29.7 kB / 415.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2637, allocations: 326.8 kB / 415.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.2638, allocations: 47.95 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.264, allocations: 91.3 kB / 415.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.2643, allocations: 127.3 kB / 415.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2643, allocations: 0 / 415.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004192/0.2647, allocations: 184.9 kB / 416 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2647, allocations: 8 kB / 416 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2647, allocations: 0 / 416 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2648, allocations: 8.031 kB / 416 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.2649, allocations: 35.97 kB / 416 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.265, allocations: 4 kB / 416 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.818e-05/0.265, allocations: 11.98 kB / 416 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.2651, allocations: 8 kB / 416 MB, free: 11.18 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 8.76e-05/0.2652, allocations: 121.7 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.2652, allocations: 11.81 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.2652, allocations: 25.59 kB / 416.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2653, allocations: 3.984 kB / 416.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2653, allocations: 0 / 416.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.2653, allocations: 85.02 kB / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.2653, allocations: 4 kB / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.2654, allocations: 11.98 kB / 416.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.2655, allocations: 15.92 kB / 416.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004817/0.266, allocations: 248.8 kB / 416.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005746/0.2666, allocations: 394.4 kB / 416.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001575/0.2667, allocations: 60 kB / 417 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.329e-05/0.2668, allocations: 120.6 kB / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of Backend: time 3.61e-07/0.2668, allocations: 0 / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004685/0.2673, allocations: 154.8 kB / 417.3 MB, free: 9.887 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008598/0.2682, allocations: 0.7518 MB / 418 MB, free: 9.086 MB / 334.1 MB Notification: Performance of Templates: time 0.004175/0.2724, allocations: 1.803 MB / 419.8 MB, free: 7.301 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) "" Variables in the reference:time,limit_a.y,limit_v.y,positionSmoothed.y Variables in the result:aMax,limit_a.Falling,limit_a.Rising,limit_a.Td,limit_a.initType,limit_a.strict,limit_a.y,limit_a.y_start,limit_v.Falling,limit_v.Rising,limit_v.Td,limit_v.initType,limit_v.strict,limit_v.y,limit_v.y_start,positionSmoothed.initType,positionSmoothed.k,positionSmoothed.y,positionSmoothed.y_start,positionStep.height,positionStep.offset,positionStep.startTime,time,vMax