Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 105.7 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 187.1 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009462/0.0009463, allocations: 51.91 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2233, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005398/0.2287, allocations: 4.484 MB / 404.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2306, allocations: 1.806 MB / 406.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.2307, allocations: 3.938 kB / 406.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.2309, allocations: 43.75 kB / 406.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.2313, allocations: 127.2 kB / 406.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.2318, allocations: 248.2 kB / 406.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.2322, allocations: 286.9 kB / 407.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.2322, allocations: 20.62 kB / 407.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.2324, allocations: 127.7 kB / 407.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.2326, allocations: 79.62 kB / 407.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2326, allocations: 8 kB / 407.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.2328, allocations: 95.86 kB / 407.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.2329, allocations: 39.89 kB / 407.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/0.233, allocations: 75.66 kB / 407.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.2333, allocations: 210.3 kB / 407.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2333, allocations: 4 kB / 407.8 MB, free: 1.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2333, allocations: 0 / 407.8 MB, free: 1.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.2334, allocations: 3.984 kB / 407.8 MB, free: 1.152 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009331/0.2343, allocations: 487 kB / 408.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2343, allocations: 8.031 kB / 408.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.193e-05/0.2344, allocations: 62.67 kB / 408.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.2346, allocations: 24.78 kB / 408.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.2348, allocations: 208.2 kB / 408.6 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2349, allocations: 12.59 kB / 408.6 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.2349, allocations: 16.33 kB / 408.6 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.2353, allocations: 217.5 kB / 408.9 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2353, allocations: 0 / 408.9 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.2354, allocations: 8 kB / 408.9 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2354, allocations: 11.92 kB / 408.9 MB, free: 0 / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.2357, allocations: 155.8 kB / 409 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.237, allocations: 0.9364 MB / 410 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.2374, allocations: 154.8 kB / 410.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.2375, allocations: 52.83 kB / 410.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005204/0.2381, allocations: 0.5071 MB / 410.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2381, allocations: 34.56 kB / 410.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.2381, allocations: 0 / 410.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002564/0.2407, allocations: 0.7663 MB / 411.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2407, allocations: 59.41 kB / 411.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2409, allocations: 152.4 kB / 411.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.2409, allocations: 33.64 kB / 411.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.241, allocations: 148.1 kB / 411.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.241, allocations: 75.38 kB / 411.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/0.2411, allocations: 57.69 kB / 412 MB, free: 12.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.2412, allocations: 326.8 kB / 412.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.2415, allocations: 87.88 kB / 412.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.2418, allocations: 198.4 kB / 412.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.2424, allocations: 296.4 kB / 412.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2424, allocations: 3.938 kB / 412.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006745/0.2431, allocations: 313.1 kB / 413.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2431, allocations: 8 kB / 413.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2431, allocations: 4 kB / 413.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2431, allocations: 4.469 kB / 413.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.2435, allocations: 87.89 kB / 413.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.2436, allocations: 15.91 kB / 413.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.2438, allocations: 12 kB / 413.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.2438, allocations: 19.98 kB / 413.3 MB, free: 11.18 MB / 334.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.000115/0.2439, allocations: 133.7 kB / 413.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.244, allocations: 19.91 kB / 413.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006862/0.2447, allocations: 246.6 kB / 413.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2447, allocations: 0 / 413.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2447, allocations: 3.938 kB / 413.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2447, allocations: 0 / 413.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.246, allocations: 0.5954 MB / 414.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.246, allocations: 0 / 414.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.2463, allocations: 56.09 kB / 414.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2463, allocations: 0 / 414.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.2463, allocations: 11.92 kB / 414.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2464, allocations: 7.938 kB / 414.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2464, allocations: 0 / 414.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/0.2472, allocations: 401.9 kB / 414.8 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.2472, allocations: 93.03 kB / 414.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.2473, allocations: 19.94 kB / 414.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.2475, allocations: 11.98 kB / 414.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.2476, allocations: 15.92 kB / 414.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.2476, allocations: 8 kB / 414.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.937e-05/0.2477, allocations: 114.4 kB / 415.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2477, allocations: 0 / 415.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.248, allocations: 60 kB / 415.1 MB, free: 9.277 MB / 334.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.001173/0.2492, allocations: 0.9808 MB / 416.1 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005972/0.2498, allocations: 215.8 kB / 416.3 MB, free: 8.047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.2499, allocations: 0.9375 kB / 416.3 MB, free: 8.047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.2501, allocations: 99.3 kB / 416.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.2505, allocations: 35.92 kB / 416.4 MB, free: 7.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.2537, allocations: 2.369 MB / 418.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.254, allocations: 0.7168 MB / 419.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002144/0.2542, allocations: 45.94 kB / 419.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.2543, allocations: 47.41 kB / 419.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2543, allocations: 0 / 419.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.2748, allocations: 4.515 MB / 424.1 MB, free: 80 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.712, allocations: 18.09 kB / 424.1 MB, free: 68 kB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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.04 Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches