Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2084, allocations: 53.37 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002846/0.2112, allocations: 1.652 MB / 434 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.2121, allocations: 498.7 kB / 434.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.908e-05/0.2122, allocations: 7.938 kB / 434.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.2123, allocations: 11.86 kB / 434.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.2124, allocations: 23.8 kB / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.2125, allocations: 55.88 kB / 434.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.2127, allocations: 111.6 kB / 434.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.2128, allocations: 21.11 kB / 434.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.2129, allocations: 51.72 kB / 434.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.025e-05/0.213, allocations: 43.77 kB / 434.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.213, allocations: 8 kB / 434.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.952e-05/0.213, allocations: 8 kB / 434.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.2131, allocations: 27.8 kB / 434.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.2131, allocations: 35.8 kB / 434.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.2133, allocations: 98.38 kB / 435 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2133, allocations: 0 / 435 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2133, allocations: 0 / 435 MB, free: 4.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2133, allocations: 4 kB / 435 MB, free: 4.121 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.000575/0.2138, allocations: 356.5 kB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2139, allocations: 8.031 kB / 435.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.2139, allocations: 12.84 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.2142, allocations: 158.9 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.2142, allocations: 12.33 kB / 435.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.2142, allocations: 12.12 kB / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.2145, allocations: 128.1 kB / 435.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2145, allocations: 7.984 kB / 435.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2145, allocations: 0 / 435.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2145, allocations: 0 / 435.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.2148, allocations: 75.88 kB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006714/0.2154, allocations: 484.6 kB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.2158, allocations: 118.5 kB / 436.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.2159, allocations: 60.81 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.2159, allocations: 8.125 kB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.216, allocations: 34.5 kB / 436.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.216, allocations: 0 / 436.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001086/0.217, allocations: 460.6 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2171, allocations: 55.39 kB / 436.9 MB, free: 2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.2172, allocations: 151.5 kB / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.2173, allocations: 29.7 kB / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.2173, allocations: 112 kB / 437.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.2174, allocations: 43.58 kB / 437.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.2174, allocations: 33.7 kB / 437.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2176, allocations: 326.8 kB / 437.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.2177, allocations: 51.95 kB / 437.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.2179, allocations: 79.55 kB / 437.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.2182, allocations: 139.3 kB / 437.9 MB, free: 1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2182, allocations: 0 / 437.9 MB, free: 1 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003896/0.2186, allocations: 180.7 kB / 438 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2186, allocations: 7.938 kB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2186, allocations: 96 / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2186, allocations: 8 kB / 438.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.2188, allocations: 43.84 kB / 438.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2188, allocations: 0 / 438.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.2189, allocations: 15.98 kB / 438.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.2189, allocations: 4 kB / 438.1 MB, free: 0.7422 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.0001038/0.219, allocations: 125.8 kB / 438.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.2191, allocations: 11.91 kB / 438.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.2191, allocations: 16.72 kB / 438.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2191, allocations: 11.92 kB / 438.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2191, allocations: 0 / 438.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.2191, allocations: 7.953 kB / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.2191, allocations: 0 / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2193, allocations: 15.98 kB / 438.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.2193, allocations: 8.922 kB / 438.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005133/0.2198, allocations: 244.8 kB / 438.6 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000642/0.2205, allocations: 398.6 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001594/0.2206, allocations: 56 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.392e-05/0.2207, allocations: 119.2 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Backend: time 2.2e-07/0.2207, allocations: 0 / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004939/0.2212, allocations: 150.2 kB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008322/0.222, allocations: 0.7534 MB / 440 MB, free: 14.76 MB / 350.1 MB Notification: Performance of Templates: time 0.005208/0.2273, allocations: 2.128 MB / 442.1 MB, free: 12.67 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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 [Calling sys.exit(0), Time elapsed: 4.3586523170015425]