Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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.001791/0.001791, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002137/0.002137, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 55.92 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2515, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006056/0.2575, allocations: 4.275 MB / 435.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.2595, allocations: 1.611 MB / 437 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.2596, allocations: 3.938 kB / 437 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.2598, allocations: 31.77 kB / 437 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.2602, allocations: 127.2 kB / 437.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.2608, allocations: 257.7 kB / 437.4 MB, free: 340 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.2612, allocations: 298.8 kB / 437.7 MB, free: 40 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.418e-05/0.2612, allocations: 13.27 kB / 437.7 MB, free: 24 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.2615, allocations: 131.6 kB / 437.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.2617, allocations: 87.59 kB / 437.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.2617, allocations: 8 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.2619, allocations: 95.88 kB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.262, allocations: 31.89 kB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.987e-05/0.2621, allocations: 71.72 kB / 438.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.2624, allocations: 219.7 kB / 438.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2624, allocations: 7.938 kB / 438.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2624, allocations: 0 / 438.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2624, allocations: 4 kB / 438.3 MB, free: 15.39 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009327/0.2634, allocations: 413.8 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2634, allocations: 12.03 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.885e-05/0.2635, allocations: 50.67 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.2636, allocations: 20.88 kB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.2639, allocations: 146.4 kB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.2639, allocations: 20.59 kB / 439 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.264, allocations: 12.38 kB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.2645, allocations: 383.6 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2645, allocations: 7.922 kB / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2646, allocations: 11.94 kB / 439.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2646, allocations: 4 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.2649, allocations: 152.6 kB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.2663, allocations: 0.8713 MB / 440.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.2667, allocations: 146.7 kB / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.2669, allocations: 51.5 kB / 440.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004928/0.2674, allocations: 336.1 kB / 440.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.2674, allocations: 34.56 kB / 440.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.2674, allocations: 0 / 440.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002617/0.27, allocations: 0.6935 MB / 441.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.27, allocations: 51.41 kB / 441.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.2702, allocations: 167.7 kB / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.2702, allocations: 29.7 kB / 441.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2704, allocations: 156 kB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.2704, allocations: 75.42 kB / 442.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2705, allocations: 57.66 kB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2707, allocations: 326.8 kB / 442.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.2709, allocations: 83.94 kB / 442.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.2713, allocations: 190.7 kB / 442.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.2719, allocations: 304.5 kB / 443 MB, free: 10.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2719, allocations: 0 / 443 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007437/0.2727, allocations: 321.1 kB / 443.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2727, allocations: 8 kB / 443.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2727, allocations: 4 kB / 443.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2727, allocations: 4.469 kB / 443.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.2731, allocations: 87.88 kB / 443.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.2731, allocations: 7.938 kB / 443.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.2733, allocations: 15.98 kB / 443.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.2733, allocations: 16 kB / 443.5 MB, free: 9.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001351/0.2735, allocations: 141.6 kB / 443.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.2735, allocations: 15.91 kB / 443.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.2742, allocations: 246.5 kB / 443.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2742, allocations: 7.938 kB / 443.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2742, allocations: 0 / 443.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2742, allocations: 3.984 kB / 443.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.2755, allocations: 0.5515 MB / 444.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.2755, allocations: 4 kB / 444.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.2758, allocations: 47.95 kB / 444.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2758, allocations: 0 / 444.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.2759, allocations: 11.98 kB / 444.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.2759, allocations: 12.06 kB / 444.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2759, allocations: 3.938 kB / 444.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.2767, allocations: 402.3 kB / 444.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.2768, allocations: 27.91 kB / 445 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.2769, allocations: 16.06 kB / 445 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2771, allocations: 15.92 kB / 445 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.2771, allocations: 19.91 kB / 445 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.2771, allocations: 8 kB / 445 MB, free: 8.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.695e-05/0.2772, allocations: 111.2 kB / 445.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2772, allocations: 0 / 445.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003787/0.2776, allocations: 60 kB / 445.2 MB, free: 8.012 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.001273/0.2789, allocations: 0.9732 MB / 446.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005923/0.2795, allocations: 207.8 kB / 446.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2795, allocations: 0 / 446.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.2797, allocations: 93 kB / 446.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.2801, allocations: 43.75 kB / 446.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.2837, allocations: 2.38 MB / 448.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.2838, allocations: 95.28 kB / 449 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.284, allocations: 53.92 kB / 449 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.2842, allocations: 51.41 kB / 449.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2842, allocations: 3.938 kB / 449.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.3195, allocations: 5.182 MB / 454.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.88, allocations: 7.922 kB / 454.3 MB, free: 14.84 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.432240749709308]