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.001707/0.001707, allocations: 109.5 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.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.001987/0.001987, allocations: 188.8 kB / 23.72 MB, free: 4.684 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.559/1.559, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001567/0.001567, allocations: 43.94 kB / 370.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3072, allocations: 52.18 MB / 422.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003428/0.3106, allocations: 1.698 MB / 424.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009704/0.3116, allocations: 494.8 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.3117, allocations: 7.938 kB / 424.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.3118, allocations: 15.86 kB / 424.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.3119, allocations: 23.78 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.3121, allocations: 51.89 kB / 424.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.3124, allocations: 123.5 kB / 425 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3125, allocations: 21.31 kB / 425 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/0.3126, allocations: 47.78 kB / 425.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3127, allocations: 43.72 kB / 425.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.3127, allocations: 8 kB / 425.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.052e-05/0.3127, allocations: 8 kB / 425.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.3128, allocations: 27.84 kB / 425.2 MB, free: 12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.3128, allocations: 43.73 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.313, allocations: 95.88 kB / 425.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.313, allocations: 0 / 425.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.313, allocations: 3.938 kB / 425.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.313, allocations: 0 / 425.3 MB, free: 11.87 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.0006927/0.3137, allocations: 357.7 kB / 425.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.3138, allocations: 12.03 kB / 425.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.415e-05/0.3138, allocations: 46.73 kB / 425.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.3139, allocations: 16.78 kB / 425.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.3142, allocations: 158.4 kB / 425.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.3143, allocations: 12 kB / 425.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.3143, allocations: 8 kB / 425.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.3146, allocations: 131.2 kB / 426 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.3146, allocations: 3.984 kB / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3147, allocations: 4 kB / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3147, allocations: 4 kB / 426 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.3149, allocations: 71.89 kB / 426.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.3157, allocations: 0.5117 MB / 426.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.3161, allocations: 130.4 kB / 426.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.3162, allocations: 56.83 kB / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3163, allocations: 0 / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.3163, allocations: 42.48 kB / 426.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3163, allocations: 0 / 426.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001193/0.3175, allocations: 449.7 kB / 427.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.3175, allocations: 51.41 kB / 427.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3177, allocations: 153.7 kB / 427.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.3178, allocations: 29.7 kB / 427.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.3178, allocations: 115.9 kB / 427.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.3179, allocations: 51.62 kB / 427.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.3179, allocations: 29.72 kB / 427.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3181, allocations: 322.8 kB / 428 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3182, allocations: 51.95 kB / 428.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.3184, allocations: 83.48 kB / 428.2 MB, free: 8.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.3187, allocations: 138.5 kB / 428.3 MB, free: 8.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3187, allocations: 0 / 428.3 MB, free: 8.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003862/0.3191, allocations: 189.3 kB / 428.5 MB, free: 8.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3191, allocations: 8 kB / 428.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3191, allocations: 0 / 428.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3191, allocations: 0 / 428.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.3193, allocations: 35.97 kB / 428.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3193, allocations: 4 kB / 428.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/0.3194, allocations: 20.08 kB / 428.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3194, allocations: 4 kB / 428.6 MB, free: 8.371 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.0001173/0.3195, allocations: 121.8 kB / 428.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.3196, allocations: 11.89 kB / 428.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.3196, allocations: 20.7 kB / 428.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3196, allocations: 0 / 428.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3196, allocations: 4 kB / 428.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3196, allocations: 0 / 428.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007852/0.3204, allocations: 467 kB / 429.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3204, allocations: 0 / 429.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.3206, allocations: 32.05 kB / 429.2 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.3206, allocations: 7.938 kB / 429.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3206, allocations: 4 kB / 429.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3206, allocations: 7.984 kB / 429.2 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3206, allocations: 0 / 429.2 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.3212, allocations: 320.9 kB / 429.5 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.3212, allocations: 16.03 kB / 429.5 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.3212, allocations: 4 kB / 429.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3213, allocations: 8.031 kB / 429.6 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.3214, allocations: 23.84 kB / 429.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.3214, allocations: 8 kB / 429.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.3215, allocations: 111.3 kB / 429.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3215, allocations: 0 / 429.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3218, allocations: 24 kB / 429.7 MB, free: 7.117 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.0009467/0.3227, allocations: 0.8506 MB / 430.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003746/0.3231, allocations: 124 kB / 430.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3231, allocations: 0 / 430.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3233, allocations: 63.91 kB / 430.8 MB, free: 6.051 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.3237, allocations: 39.91 kB / 430.8 MB, free: 6.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.3263, allocations: 1.954 MB / 432.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3267, allocations: 0.7084 MB / 433.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.333e-05/0.3267, allocations: 13.42 kB / 433.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.552e-05/0.3268, allocations: 39.42 kB / 433.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3268, allocations: 0 / 433.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.359, allocations: 3.573 MB / 437.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.21, allocations: 3.875 kB / 437.1 MB, free: 15.72 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.877645040000061]