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.001456/0.001456, allocations: 117.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001794/0.001794, allocations: 206.7 kB / 19.42 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2147, allocations: 50.56 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002804/0.2176, allocations: 1.689 MB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009907/0.2186, allocations: 0.5026 MB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.549e-05/0.2187, allocations: 0 / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.2188, allocations: 19.73 kB / 412.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.705e-05/0.2189, allocations: 31.73 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.2191, allocations: 43.94 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.2193, allocations: 119.6 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2194, allocations: 33.03 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.769e-05/0.2195, allocations: 31.86 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.2196, allocations: 55.62 kB / 412.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2196, allocations: 8 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.488e-05/0.2196, allocations: 8 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.2197, allocations: 27.92 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.2197, allocations: 43.69 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.2198, allocations: 99.44 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2199, allocations: 0 / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2199, allocations: 0 / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2199, allocations: 0 / 412.6 MB, free: 14.89 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.0005462/0.2204, allocations: 430.9 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2205, allocations: 8.031 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.2205, allocations: 20.84 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.2209, allocations: 216.1 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.2209, allocations: 12.33 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.2209, allocations: 12.12 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.2212, allocations: 130.4 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2213, allocations: 0 / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.2213, allocations: 4 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2213, allocations: 4 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.2215, allocations: 67.88 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.2222, allocations: 0.5477 MB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.2225, allocations: 130.4 kB / 414.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.2227, allocations: 60.81 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2227, allocations: 4 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2228, allocations: 34.56 kB / 414.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.2228, allocations: 0 / 414.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001086/0.2239, allocations: 0.5138 MB / 414.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.2239, allocations: 55.41 kB / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.224, allocations: 150.2 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.2241, allocations: 37.7 kB / 415.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.2241, allocations: 108 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.2242, allocations: 47.58 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.2242, allocations: 29.72 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2243, allocations: 322.8 kB / 415.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2245, allocations: 51.95 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.2246, allocations: 82.2 kB / 415.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.2249, allocations: 139.3 kB / 415.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2249, allocations: 0 / 415.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003604/0.2253, allocations: 180.9 kB / 416 MB, free: 11.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2253, allocations: 4 kB / 416 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2253, allocations: 0 / 416 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2254, allocations: 12.03 kB / 416 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2255, allocations: 35.97 kB / 416 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.2256, allocations: 0 / 416 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.259e-05/0.2256, allocations: 15.98 kB / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2257, allocations: 4 kB / 416.1 MB, free: 11.17 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.863e-05/0.2257, allocations: 125.8 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.2258, allocations: 11.91 kB / 416.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.2258, allocations: 28.64 kB / 416.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2258, allocations: 0 / 416.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2259, allocations: 0 / 416.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.2259, allocations: 85.06 kB / 416.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2259, allocations: 0 / 416.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.226, allocations: 15.98 kB / 416.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.2261, allocations: 11.97 kB / 416.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005028/0.2266, allocations: 256.7 kB / 416.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005596/0.2272, allocations: 394.5 kB / 417 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001605/0.2273, allocations: 63.98 kB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.088e-05/0.2274, allocations: 110.5 kB / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of Backend: time 2.1e-07/0.2274, allocations: 0 / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004681/0.2279, allocations: 159 kB / 417.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007129/0.2286, allocations: 0.757 MB / 418.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of Templates: time 0.004107/0.2327, allocations: 1.793 MB / 419.8 MB, free: 7.289 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