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.001566/0.001566, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00201/0.00201, allocations: 206 kB / 23.73 MB, free: 4.523 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.801 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: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 47.86 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2712, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002954/0.2742, allocations: 1.659 MB / 432.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009932/0.2752, allocations: 0.491 MB / 433.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.675e-05/0.2752, allocations: 7.938 kB / 433.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.2754, allocations: 7.875 kB / 433.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.673e-05/0.2754, allocations: 23.8 kB / 433.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.2756, allocations: 51.88 kB / 433.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.2758, allocations: 115.6 kB / 433.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.2759, allocations: 21.09 kB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.276, allocations: 47.73 kB / 433.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.979e-05/0.2761, allocations: 43.77 kB / 433.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.2761, allocations: 12 kB / 433.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.2761, allocations: 8 kB / 433.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.2761, allocations: 31.8 kB / 433.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.2762, allocations: 31.8 kB / 433.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.2763, allocations: 89.41 kB / 433.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2763, allocations: 4 kB / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2763, allocations: 0 / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2764, allocations: 3.938 kB / 433.7 MB, free: 3.996 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.0006166/0.277, allocations: 361.7 kB / 434.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.277, allocations: 12.03 kB / 434.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/0.2771, allocations: 42.73 kB / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.2771, allocations: 12.84 kB / 434.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.2774, allocations: 153.4 kB / 434.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.2774, allocations: 12.31 kB / 434.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.2774, allocations: 15.88 kB / 434.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.2777, allocations: 128.2 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.2777, allocations: 4 kB / 434.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2778, allocations: 4 kB / 434.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2778, allocations: 0 / 434.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.278, allocations: 67.89 kB / 434.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.2787, allocations: 0.5039 MB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.2791, allocations: 126.5 kB / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.2792, allocations: 56.95 kB / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.2792, allocations: 3.984 kB / 435.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.2793, allocations: 34.56 kB / 435.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.2793, allocations: 0 / 435.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001201/0.2805, allocations: 444.6 kB / 435.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.2806, allocations: 55.41 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.2807, allocations: 155.9 kB / 435.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2807, allocations: 30.64 kB / 435.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.2808, allocations: 116 kB / 436 MB, free: 1.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.2808, allocations: 43.64 kB / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.2809, allocations: 29.72 kB / 436.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2811, allocations: 322.8 kB / 436.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.2812, allocations: 51.95 kB / 436.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.2814, allocations: 87.45 kB / 436.5 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.2817, allocations: 131.3 kB / 436.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2817, allocations: 0 / 436.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003827/0.2821, allocations: 188.5 kB / 436.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2821, allocations: 15.88 kB / 436.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2821, allocations: 0 / 436.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2821, allocations: 0 / 436.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.2823, allocations: 51.84 kB / 436.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2823, allocations: 0 / 436.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/0.2824, allocations: 11.98 kB / 436.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.2824, allocations: 8.094 kB / 436.9 MB, free: 0.5195 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.0001038/0.2825, allocations: 121.8 kB / 437.1 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.2825, allocations: 19.84 kB / 437.1 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.2826, allocations: 16.7 kB / 437.1 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.2826, allocations: 7.984 kB / 437.1 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2826, allocations: 0 / 437.1 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2826, allocations: 0 / 437.1 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/0.2833, allocations: 459.1 kB / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2834, allocations: 0 / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.2835, allocations: 31.98 kB / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2835, allocations: 0 / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2835, allocations: 4 kB / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2835, allocations: 0 / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2835, allocations: 4 kB / 437.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.2841, allocations: 328.9 kB / 437.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.2842, allocations: 11.91 kB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.2842, allocations: 0 / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.2843, allocations: 16.03 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.2843, allocations: 15.98 kB / 437.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2843, allocations: 4 kB / 437.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.8e-05/0.2844, allocations: 114.9 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2844, allocations: 0 / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.2847, allocations: 23.94 kB / 438.1 MB, free: 15.28 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.0009198/0.2856, allocations: 0.8467 MB / 438.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.286, allocations: 127.8 kB / 439.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.286, allocations: 4 kB / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.2862, allocations: 60.2 kB / 439.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.2866, allocations: 50.88 kB / 439.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.2891, allocations: 1.932 MB / 441.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.2892, allocations: 102.2 kB / 441.2 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.2893, allocations: 21.42 kB / 441.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.2894, allocations: 39.42 kB / 441.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2894, allocations: 0 / 441.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.3239, allocations: 4.088 MB / 445.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.34, allocations: 3.938 kB / 445.4 MB, free: 8.008 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_a.y from file Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! Error: Could not read variable limit_v.y in file Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_v.y from file Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.900253026018618]