Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 44.02 kB / 370.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2757, allocations: 52.18 MB / 423.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003404/0.2791, allocations: 1.709 MB / 424.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2802, allocations: 494.8 kB / 425.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.2804, allocations: 0 / 425.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.2806, allocations: 15.8 kB / 425.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.2807, allocations: 27.8 kB / 425.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.281, allocations: 51.88 kB / 425.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.2813, allocations: 115.6 kB / 425.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.2814, allocations: 17.28 kB / 425.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.2815, allocations: 51.72 kB / 425.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.2816, allocations: 47.72 kB / 425.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.2817, allocations: 8 kB / 425.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.498e-05/0.2817, allocations: 12 kB / 425.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.2817, allocations: 19.92 kB / 425.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.2818, allocations: 43.69 kB / 425.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.282, allocations: 105 kB / 425.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.282, allocations: 0 / 425.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.282, allocations: 0 / 425.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.2821, allocations: 0 / 425.8 MB, free: 12.11 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.0006987/0.2828, allocations: 357.7 kB / 426.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2828, allocations: 12.03 kB / 426.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.2829, allocations: 16.84 kB / 426.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.2832, allocations: 170.6 kB / 426.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2832, allocations: 4 kB / 426.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.2833, allocations: 11.94 kB / 426.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.2836, allocations: 140.1 kB / 426.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2836, allocations: 0 / 426.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2837, allocations: 0 / 426.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2837, allocations: 4 kB / 426.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.2839, allocations: 63.89 kB / 426.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.2847, allocations: 0.5195 MB / 427.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.2851, allocations: 126.5 kB / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2853, allocations: 60.81 kB / 427.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.2853, allocations: 0 / 427.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.2853, allocations: 38.62 kB / 427.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.2853, allocations: 0 / 427.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001227/0.2866, allocations: 436.8 kB / 427.7 MB, free: 10 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.2866, allocations: 59.34 kB / 427.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.2868, allocations: 161.7 kB / 427.9 MB, free: 9.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.2868, allocations: 25.7 kB / 428 MB, free: 9.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.2869, allocations: 108 kB / 428.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.946e-05/0.287, allocations: 51.58 kB / 428.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/0.287, allocations: 25.72 kB / 428.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2872, allocations: 326.8 kB / 428.5 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.2874, allocations: 52.89 kB / 428.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.2875, allocations: 82.83 kB / 428.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.2879, allocations: 139.3 kB / 428.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2879, allocations: 0 / 428.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004362/0.2883, allocations: 177.4 kB / 428.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2883, allocations: 4 kB / 428.9 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.2884, allocations: 8.094 kB / 428.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2884, allocations: 0 / 428.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2886, allocations: 43.91 kB / 429 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2886, allocations: 4 kB / 429 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.768e-05/0.2887, allocations: 15.92 kB / 429 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2887, allocations: 4 kB / 429 MB, free: 8.668 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.0001311/0.2888, allocations: 125.7 kB / 429.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.2888, allocations: 15.89 kB / 429.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.2889, allocations: 20.7 kB / 429.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.2889, allocations: 0 / 429.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.2889, allocations: 4 kB / 429.2 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2889, allocations: 4 kB / 429.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009/0.2898, allocations: 471 kB / 429.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2898, allocations: 0 / 429.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.29, allocations: 31.97 kB / 429.6 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.29, allocations: 4 kB / 429.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.29, allocations: 4 kB / 429.7 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.29, allocations: 4 kB / 429.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.29, allocations: 0 / 429.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.2907, allocations: 328.9 kB / 430 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.2907, allocations: 11.95 kB / 430 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.2908, allocations: 0 / 430 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.2909, allocations: 16.12 kB / 430 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.2909, allocations: 19.89 kB / 430 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2909, allocations: 4 kB / 430 MB, free: 7.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.676e-05/0.291, allocations: 115.2 kB / 430.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.291, allocations: 0 / 430.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.2913, allocations: 20 kB / 430.2 MB, free: 7.406 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.0001322/0.2914, allocations: 99.19 kB / 430.3 MB, free: 7.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.2918, allocations: 119.9 kB / 430.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2919, allocations: 0 / 430.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.2921, allocations: 68.2 kB / 430.4 MB, free: 7.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.2925, allocations: 43.56 kB / 430.5 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/0.2932, allocations: 336.7 kB / 430.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.2936, allocations: 0.7083 MB / 431.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.292e-05/0.2937, allocations: 17.42 kB / 431.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.2937, allocations: 15.44 kB / 431.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2937, allocations: 0 / 431.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of Templates: time 0.006848/0.3006, allocations: 1.808 MB / 433.4 MB, free: 4.16 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.572802781127393]