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.001493/0.001493, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001677/0.001677, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.00158/0.00158, allocations: 47.92 kB / 378.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2628, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003084/0.2659, allocations: 1.706 MB / 433.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.267, allocations: 0.5259 MB / 433.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.2671, allocations: 3.938 kB / 433.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2672, allocations: 15.8 kB / 433.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2673, allocations: 31.78 kB / 433.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.2675, allocations: 47.88 kB / 433.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.2677, allocations: 107.6 kB / 434.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.2679, allocations: 21.3 kB / 434.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/0.2679, allocations: 51.78 kB / 434.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.2681, allocations: 51.7 kB / 434.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.2681, allocations: 8 kB / 434.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.2681, allocations: 4 kB / 434.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.2682, allocations: 27.86 kB / 434.2 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.2682, allocations: 43.69 kB / 434.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.2684, allocations: 91.08 kB / 434.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2684, allocations: 0 / 434.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.2684, allocations: 0 / 434.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2684, allocations: 0 / 434.3 MB, free: 4.188 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.0007237/0.2692, allocations: 367.4 kB / 434.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.2692, allocations: 8.031 kB / 434.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.2693, allocations: 16.84 kB / 434.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.2697, allocations: 146.9 kB / 434.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2697, allocations: 8.375 kB / 434.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.2697, allocations: 20.08 kB / 434.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.2701, allocations: 134.9 kB / 435 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.2701, allocations: 0 / 435 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.2701, allocations: 8 kB / 435 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2701, allocations: 0 / 435 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.2703, allocations: 67.89 kB / 435.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009082/0.2712, allocations: 0.5195 MB / 435.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.2716, allocations: 126.5 kB / 435.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2717, allocations: 53.02 kB / 435.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2718, allocations: 3.938 kB / 435.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.2718, allocations: 38.55 kB / 435.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 3.236e-06/0.2718, allocations: 4 kB / 435.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001188/0.273, allocations: 456.5 kB / 436.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.2731, allocations: 51.41 kB / 436.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.2732, allocations: 155.5 kB / 436.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.2733, allocations: 29.7 kB / 436.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2734, allocations: 112 kB / 436.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.2734, allocations: 47.56 kB / 436.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.2735, allocations: 29.72 kB / 436.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2736, allocations: 322.8 kB / 437 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.2738, allocations: 55.95 kB / 437.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.2739, allocations: 83.39 kB / 437.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.2742, allocations: 134.2 kB / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2742, allocations: 0 / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003755/0.2746, allocations: 181.5 kB / 437.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2746, allocations: 8 kB / 437.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2746, allocations: 3.938 kB / 437.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2747, allocations: 0 / 437.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.2748, allocations: 39.91 kB / 437.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2748, allocations: 4 kB / 437.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.2749, allocations: 15.98 kB / 437.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.2749, allocations: 4 kB / 437.5 MB, free: 0.75 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.0001085/0.275, allocations: 125.8 kB / 437.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.2751, allocations: 15.91 kB / 437.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.2751, allocations: 20.64 kB / 437.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2751, allocations: 4 kB / 437.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.2751, allocations: 4 kB / 437.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2751, allocations: 0 / 437.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008148/0.2759, allocations: 471.9 kB / 438.2 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.2759, allocations: 4 kB / 438.2 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.2761, allocations: 27.98 kB / 438.2 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2761, allocations: 0 / 438.2 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2761, allocations: 8.062 kB / 438.2 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2761, allocations: 7.984 kB / 438.2 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2761, allocations: 96 / 438.2 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.2767, allocations: 327 kB / 438.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.2767, allocations: 11.91 kB / 438.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.2768, allocations: 8 kB / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2769, allocations: 12.03 kB / 438.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.2769, allocations: 15.97 kB / 438.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2769, allocations: 0 / 438.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.4e-05/0.277, allocations: 111.3 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.277, allocations: 7.938 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.2773, allocations: 24 kB / 438.7 MB, free: 15.48 MB / 350.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.0001174/0.2774, allocations: 103.1 kB / 438.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.2778, allocations: 115.9 kB / 438.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2778, allocations: 4.188 kB / 438.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.2779, allocations: 63.89 kB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.2783, allocations: 38.47 kB / 439 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.279, allocations: 320.4 kB / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.2794, allocations: 0.7122 MB / 440.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.037e-05/0.2794, allocations: 13.52 kB / 440.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.2795, allocations: 15.44 kB / 440.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2795, allocations: 4 kB / 440.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Templates: time 0.005622/0.2851, allocations: 1.794 MB / 441.9 MB, free: 12.27 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 4.583228496136144]