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.001342/0.001342, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001422/0.001422, allocations: 187.7 kB / 23.7 MB, free: 4.191 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.482/1.482, allocations: 225.7 MB / 252.5 MB, free: 12.84 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: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.92 kB / 370.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.267, allocations: 52.19 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003484/0.2705, allocations: 1.644 MB / 424.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.2714, allocations: 454.9 kB / 424.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.2715, allocations: 7.938 kB / 424.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.2717, allocations: 19.8 kB / 424.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.806e-05/0.2718, allocations: 31.78 kB / 424.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.272, allocations: 47.94 kB / 424.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.2722, allocations: 123.5 kB / 424.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2724, allocations: 17.11 kB / 424.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.2725, allocations: 43.84 kB / 424.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.2726, allocations: 51.64 kB / 425 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.2726, allocations: 8 kB / 425 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.214e-05/0.2726, allocations: 8 kB / 425 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.2727, allocations: 19.92 kB / 425 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.2727, allocations: 39.8 kB / 425.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.2729, allocations: 93.34 kB / 425.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2729, allocations: 0 / 425.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2729, allocations: 0 / 425.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2729, allocations: 0 / 425.2 MB, free: 11.8 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.0007029/0.2736, allocations: 357.7 kB / 425.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.2737, allocations: 12.03 kB / 425.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.2737, allocations: 34.75 kB / 425.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.2738, allocations: 20.84 kB / 425.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.2741, allocations: 164.5 kB / 425.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.2742, allocations: 11.94 kB / 425.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.2742, allocations: 8 kB / 425.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.2745, allocations: 132.1 kB / 425.9 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2745, allocations: 0 / 425.9 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2745, allocations: 4 kB / 425.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2745, allocations: 8 kB / 425.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.2747, allocations: 67.94 kB / 426 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007856/0.2755, allocations: 0.5038 MB / 426.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.2759, allocations: 122.5 kB / 426.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.276, allocations: 56.81 kB / 426.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.276, allocations: 0 / 426.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2761, allocations: 38.5 kB / 426.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.2761, allocations: 0 / 426.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001168/0.2772, allocations: 452.8 kB / 427.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.2773, allocations: 51.41 kB / 427.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.2774, allocations: 153.7 kB / 427.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2775, allocations: 29.7 kB / 427.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.2776, allocations: 116 kB / 427.5 MB, free: 9.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.2776, allocations: 47.62 kB / 427.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.2777, allocations: 41.64 kB / 427.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2779, allocations: 322.8 kB / 427.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.278, allocations: 55.89 kB / 427.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.2782, allocations: 75.39 kB / 428 MB, free: 8.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.2785, allocations: 135.3 kB / 428.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2785, allocations: 0 / 428.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000411/0.2789, allocations: 187.8 kB / 428.3 MB, free: 8.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2789, allocations: 8 kB / 428.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2789, allocations: 0 / 428.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.279, allocations: 0 / 428.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.2791, allocations: 39.91 kB / 428.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.2791, allocations: 4 kB / 428.4 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.2792, allocations: 15.98 kB / 428.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2792, allocations: 4 kB / 428.4 MB, free: 8.32 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.0001141/0.2794, allocations: 117.8 kB / 428.5 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.2794, allocations: 19.92 kB / 428.5 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.2794, allocations: 12.72 kB / 428.5 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2794, allocations: 4 kB / 428.5 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2794, allocations: 0 / 428.5 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2795, allocations: 3.984 kB / 428.5 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008273/0.2803, allocations: 456 kB / 429 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2803, allocations: 4 kB / 429 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.2804, allocations: 35.91 kB / 429 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2805, allocations: 0 / 429 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.2805, allocations: 8 kB / 429 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2805, allocations: 0 / 429 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2805, allocations: 0 / 429 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.2811, allocations: 337 kB / 429.3 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.2811, allocations: 15.98 kB / 429.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.2811, allocations: 0 / 429.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2812, allocations: 15.98 kB / 429.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.2813, allocations: 11.92 kB / 429.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.2813, allocations: 4 kB / 429.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.19e-05/0.2814, allocations: 115.2 kB / 429.5 MB, free: 7.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2814, allocations: 4 kB / 429.5 MB, free: 7.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.2816, allocations: 20 kB / 429.5 MB, free: 7.074 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.0008925/0.2825, allocations: 0.8502 MB / 430.4 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.2829, allocations: 119.9 kB / 430.5 MB, free: 6.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.2829, allocations: 4 kB / 430.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.2831, allocations: 67.83 kB / 430.6 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.2835, allocations: 57.59 kB / 430.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.286, allocations: 1.937 MB / 432.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.497e-05/0.2861, allocations: 102.2 kB / 432.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.223e-05/0.2862, allocations: 17.42 kB / 432.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.2863, allocations: 39.42 kB / 432.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2863, allocations: 0 / 432.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.3206, allocations: 4.068 MB / 436.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.54, allocations: 4.062 kB / 436.8 MB, free: 15.81 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv","/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_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable limit_a.y in file Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_a.y from file Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! Error: Could not read variable limit_v.y in file Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_v.y from file Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.079318685922772]