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.002609/0.002609, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.002887/0.002888, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.12/2.12, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 39.59 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.141, allocations: 49.44 MB / 350.1 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.01017/0.1513, allocations: 4.479 MB / 354.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003824/0.1551, allocations: 1.802 MB / 356.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.1554, allocations: 7.938 kB / 356.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.1559, allocations: 39.73 kB / 356.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006995/0.1567, allocations: 127.2 kB / 356.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.1579, allocations: 246 kB / 356.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006104/0.1585, allocations: 290.9 kB / 357.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.333e-05/0.1586, allocations: 17.12 kB / 357.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.1591, allocations: 123.6 kB / 357.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1594, allocations: 83.62 kB / 357.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.1594, allocations: 8 kB / 357.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.1599, allocations: 91.88 kB / 357.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.1601, allocations: 43.89 kB / 357.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.1603, allocations: 83.64 kB / 357.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.1609, allocations: 207.7 kB / 357.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1609, allocations: 0 / 357.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1609, allocations: 0 / 357.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1609, allocations: 0 / 357.8 MB, free: 12.66 MB / 302.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.001727/0.1627, allocations: 491.2 kB / 358.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.218e-05/0.1628, allocations: 15.89 kB / 358.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.1629, allocations: 58.67 kB / 358.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.1633, allocations: 20.83 kB / 358.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.1637, allocations: 208.1 kB / 358.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.1637, allocations: 12.66 kB / 358.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.1638, allocations: 16.31 kB / 358.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.1645, allocations: 217.5 kB / 358.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.1646, allocations: 4 kB / 358.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.1646, allocations: 4 kB / 358.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.1646, allocations: 7.984 kB / 358.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006164/0.1653, allocations: 152.3 kB / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.1674, allocations: 0.9401 MB / 359.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.1681, allocations: 146.8 kB / 360 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.1684, allocations: 56.83 kB / 360.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000888/0.1693, allocations: 0.5109 MB / 360.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.1693, allocations: 34.56 kB / 360.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 3.116e-06/0.1694, allocations: 0 / 360.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.004334/0.1737, allocations: 0.7703 MB / 361.4 MB, free: 8.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.1738, allocations: 51.41 kB / 361.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.1741, allocations: 154.3 kB / 361.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.1741, allocations: 29.7 kB / 361.6 MB, free: 8.441 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.1743, allocations: 135.9 kB / 361.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.1744, allocations: 74.92 kB / 361.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/0.1747, allocations: 61.61 kB / 361.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1749, allocations: 326.8 kB / 362.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.1753, allocations: 91.83 kB / 362.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.1759, allocations: 194 kB / 362.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000986/0.1769, allocations: 294.9 kB / 362.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1769, allocations: 4 kB / 362.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001265/0.1782, allocations: 319.3 kB / 363.1 MB, free: 6.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.1783, allocations: 8.469 kB / 363.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1783, allocations: 4 kB / 363.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.873e-05/0.1783, allocations: 11.94 kB / 363.1 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/0.179, allocations: 83.88 kB / 363.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.1791, allocations: 7.938 kB / 363.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.1795, allocations: 19.98 kB / 363.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.649e-05/0.1796, allocations: 12 kB / 363.2 MB, free: 6.707 MB / 302.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.0002583/0.1799, allocations: 137.7 kB / 363.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.18, allocations: 19.8 kB / 363.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.1812, allocations: 234.6 kB / 363.6 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.1812, allocations: 4 kB / 363.6 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.1812, allocations: 0 / 363.6 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.1813, allocations: 7.922 kB / 363.6 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.1836, allocations: 0.5913 MB / 364.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.1836, allocations: 0 / 364.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.1841, allocations: 51.95 kB / 364.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.1842, allocations: 4 kB / 364.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.1842, allocations: 7.938 kB / 364.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.1842, allocations: 3.938 kB / 364.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.1843, allocations: 4 kB / 364.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.1857, allocations: 405.3 kB / 364.7 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.913e-05/0.1858, allocations: 92.95 kB / 364.8 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.1859, allocations: 7.938 kB / 364.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.1863, allocations: 11.98 kB / 364.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.1864, allocations: 23.86 kB / 364.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.1865, allocations: 7.984 kB / 364.8 MB, free: 4.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.1867, allocations: 115.3 kB / 365 MB, free: 4.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1867, allocations: 3.938 kB / 365 MB, free: 4.867 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007633/0.1874, allocations: 60 kB / 365 MB, free: 4.809 MB / 302.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.002085/0.1896, allocations: 0.9722 MB / 366 MB, free: 3.801 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.1907, allocations: 224.4 kB / 366.2 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.1907, allocations: 4.125 kB / 366.2 MB, free: 3.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.1912, allocations: 99.05 kB / 366.3 MB, free: 3.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007726/0.192, allocations: 39.95 kB / 366.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.1982, allocations: 2.35 MB / 368.7 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.1987, allocations: 0.7245 MB / 369.4 MB, free: 152 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004882/0.1992, allocations: 49.86 kB / 369.5 MB, free: 100 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.1994, allocations: 47.42 kB / 369.5 MB, free: 52 kB / 302.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1994, allocations: 0 / 369.5 MB, free: 52 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2782/0.4776, allocations: 4.443 MB / 374 MB, free: 25.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.91, allocations: 7.859 kB / 374 MB, free: 25.75 MB / 302.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