Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001844/0.001844, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001828/0.001828, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.273, allocations: 49.16 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002925/0.2759, allocations: 1.686 MB / 398 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008752/0.2768, allocations: 0.5311 MB / 398.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.2769, allocations: 5.219 kB / 398.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.277, allocations: 16.08 kB / 398.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.479e-05/0.2771, allocations: 31.36 kB / 398.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.2773, allocations: 49.05 kB / 398.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.2775, allocations: 115.5 kB / 398.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.2777, allocations: 18.66 kB / 398.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.2777, allocations: 52.77 kB / 398.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2778, allocations: 47.72 kB / 398.9 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.2779, allocations: 10.78 kB / 398.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.2779, allocations: 8.406 kB / 398.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.2779, allocations: 17.8 kB / 398.9 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.278, allocations: 49.88 kB / 399 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.2782, allocations: 100 kB / 399.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.2782, allocations: 1.219 kB / 399.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.2782, allocations: 0 / 399.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.2782, allocations: 0 / 399.1 MB, free: 7.172 MB / 318.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.0006408/0.2788, allocations: 353.4 kB / 399.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/0.2789, allocations: 15.33 kB / 399.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.279, allocations: 43.19 kB / 399.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.279, allocations: 11.39 kB / 399.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.2793, allocations: 159.5 kB / 399.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.2793, allocations: 7.906 kB / 399.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.2793, allocations: 11.61 kB / 399.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.2796, allocations: 130.3 kB / 399.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.2797, allocations: 4.984 kB / 399.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2797, allocations: 1.031 kB / 399.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2797, allocations: 2.312 kB / 399.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.2799, allocations: 68.88 kB / 399.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.2806, allocations: 0.5205 MB / 400.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.2809, allocations: 126.4 kB / 400.5 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.2811, allocations: 56.47 kB / 400.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2811, allocations: 1.062 kB / 400.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2811, allocations: 41.53 kB / 400.6 MB, free: 5.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.2811, allocations: 0 / 400.6 MB, free: 5.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001186/0.2823, allocations: 453.9 kB / 401 MB, free: 5.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.2823, allocations: 58.47 kB / 401.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2825, allocations: 161 kB / 401.3 MB, free: 5.516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2825, allocations: 25.7 kB / 401.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.2825, allocations: 117.9 kB / 401.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.2826, allocations: 39.86 kB / 401.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.2826, allocations: 38.88 kB / 401.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.2827, allocations: 326.7 kB / 401.8 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2828, allocations: 46.17 kB / 401.8 MB, free: 4.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.283, allocations: 86.48 kB / 401.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.2833, allocations: 137.9 kB / 402.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2833, allocations: 0 / 402.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003779/0.2837, allocations: 168.6 kB / 402.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.2837, allocations: 9.219 kB / 402.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2837, allocations: 1.688 kB / 402.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.2837, allocations: 1.312 kB / 402.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.2839, allocations: 47.34 kB / 402.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2839, allocations: 2.172 kB / 402.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.284, allocations: 12.31 kB / 402.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.284, allocations: 7.844 kB / 402.3 MB, free: 4.777 MB / 318.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.793e-05/0.2841, allocations: 119.9 kB / 402.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.2841, allocations: 22.34 kB / 402.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.2842, allocations: 12.77 kB / 402.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2842, allocations: 9.422 kB / 402.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.2842, allocations: 0.5156 kB / 402.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2842, allocations: 0.6094 kB / 402.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008004/0.285, allocations: 476.7 kB / 402.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.285, allocations: 0.9688 kB / 402.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.2852, allocations: 31.45 kB / 403 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2852, allocations: 1.031 kB / 403 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.2852, allocations: 3.016 kB / 403 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2852, allocations: 1.125 kB / 403 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2852, allocations: 1.844 kB / 403 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.2858, allocations: 330.5 kB / 403.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.2858, allocations: 12.64 kB / 403.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.2858, allocations: 7.594 kB / 403.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.286, allocations: 14.56 kB / 403.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.286, allocations: 14.06 kB / 403.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.286, allocations: 7.281 kB / 403.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.984e-05/0.2861, allocations: 109.7 kB / 403.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2861, allocations: 96 / 403.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.2864, allocations: 28.62 kB / 403.5 MB, free: 3.941 MB / 318.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.0006759/0.2871, allocations: 0.8439 MB / 404.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.2875, allocations: 130.1 kB / 404.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2875, allocations: 0 / 404.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.2876, allocations: 60.75 kB / 404.5 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.2881, allocations: 39.64 kB / 404.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.2902, allocations: 1.948 MB / 406.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.2904, allocations: 0.7125 MB / 407.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.2905, allocations: 12.22 kB / 407.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.2906, allocations: 41.83 kB / 407.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2906, allocations: 1.25 kB / 407.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.3224, allocations: 3.583 MB / 410.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.44, allocations: 1.438 kB / 410.8 MB, free: 15.79 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_a.y from file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! Error: Could not read variable limit_v.y in file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_v.y from file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.875889430004463]