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.002001/0.002001, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002376/0.002376, allocations: 218.2 kB / 23.73 MB, free: 4.16 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.502/1.502, 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.001527/0.001527, allocations: 52.06 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2625, allocations: 53.36 MB / 431.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003978/0.2665, allocations: 1.652 MB / 432.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2677, allocations: 498.7 kB / 433.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.2679, allocations: 7.938 kB / 433.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.268, allocations: 11.81 kB / 433.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.2681, allocations: 27.78 kB / 433.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.2683, allocations: 51.92 kB / 433.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.2685, allocations: 115.6 kB / 433.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2686, allocations: 21.09 kB / 433.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.2687, allocations: 43.8 kB / 433.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.625e-05/0.2688, allocations: 51.69 kB / 433.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.2688, allocations: 8 kB / 433.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.2688, allocations: 8 kB / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.2689, allocations: 19.88 kB / 433.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.2689, allocations: 31.8 kB / 433.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.2691, allocations: 97.34 kB / 433.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2691, allocations: 0 / 433.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2691, allocations: 0 / 433.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2691, allocations: 0 / 433.7 MB, free: 4.137 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.0006034/0.2697, allocations: 361.8 kB / 434.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2697, allocations: 8.031 kB / 434.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.2698, allocations: 42.73 kB / 434.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.2698, allocations: 12.84 kB / 434.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.2702, allocations: 158.8 kB / 434.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2702, allocations: 8.328 kB / 434.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.2702, allocations: 11.94 kB / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.2706, allocations: 134.8 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2706, allocations: 3.938 kB / 434.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.2706, allocations: 4 kB / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2706, allocations: 0 / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.2708, allocations: 67.94 kB / 434.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007719/0.2716, allocations: 0.5 MB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.2719, allocations: 138.4 kB / 435.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.2721, allocations: 52.81 kB / 435.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.2721, allocations: 3.938 kB / 435.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.2721, allocations: 38.56 kB / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.2721, allocations: 0 / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001105/0.2732, allocations: 448.8 kB / 435.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.2733, allocations: 55.41 kB / 435.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.2734, allocations: 151.9 kB / 435.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.2734, allocations: 29.7 kB / 435.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.2735, allocations: 112 kB / 436 MB, free: 1.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.2736, allocations: 47.62 kB / 436.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.2736, allocations: 29.72 kB / 436.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.2738, allocations: 326.8 kB / 436.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.274, allocations: 47.95 kB / 436.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.2741, allocations: 95.39 kB / 436.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.2744, allocations: 131.3 kB / 436.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2744, allocations: 0 / 436.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003801/0.2748, allocations: 188.7 kB / 436.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2748, allocations: 11.94 kB / 436.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2749, allocations: 0 / 436.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2749, allocations: 0 / 436.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.275, allocations: 39.91 kB / 436.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.275, allocations: 4 kB / 436.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.671e-05/0.2751, allocations: 12.08 kB / 436.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.2751, allocations: 12 kB / 436.9 MB, free: 0.6523 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.0001039/0.2752, allocations: 113.8 kB / 437 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.2753, allocations: 19.84 kB / 437.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.2753, allocations: 16.7 kB / 437.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2753, allocations: 4 kB / 437.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2753, allocations: 0 / 437.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2753, allocations: 0 / 437.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/0.2761, allocations: 460 kB / 437.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2761, allocations: 7.984 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.2763, allocations: 31.92 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2763, allocations: 0 / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.2763, allocations: 4 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.2763, allocations: 4.078 kB / 437.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2763, allocations: 8 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.277, allocations: 324.9 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.277, allocations: 11.91 kB / 437.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.277, allocations: 4 kB / 437.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2771, allocations: 16.03 kB / 437.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.2772, allocations: 19.97 kB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.2772, allocations: 4 kB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.2773, allocations: 110.9 kB / 438.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2773, allocations: 0 / 438.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.2775, allocations: 23.94 kB / 438.1 MB, free: 15.41 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.0009828/0.2785, allocations: 0.8506 MB / 438.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004114/0.2789, allocations: 119.9 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2789, allocations: 0 / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.2791, allocations: 68.22 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.2795, allocations: 42.25 kB / 439.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.2823, allocations: 1.932 MB / 441.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.2824, allocations: 106.2 kB / 441.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.71e-05/0.2825, allocations: 13.42 kB / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.2826, allocations: 39.42 kB / 441.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2826, allocations: 0 / 441.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.3171, allocations: 4.035 MB / 445.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.58, allocations: 8 kB / 445.3 MB, free: 8.191 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.140631645917892]