Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.001335/0.001335, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001499/0.001499, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.585/1.585, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2336/0.2336, allocations: 46.93 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002897/0.002897, allocations: 56.14 kB / 0.4909 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1423, allocations: 66 MB / 0.5554 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01788/0.1602, allocations: 12.55 MB / 0.5676 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1618, allocations: 1.397 MB / 0.569 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.1619, allocations: 0 / 0.569 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.1621, allocations: 35.8 kB / 0.569 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005816/0.1679, allocations: 2.231 MB / 0.5712 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.791e-06/0.1679, allocations: 4 kB / 0.5712 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.168, allocations: 43.67 kB / 0.5712 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.168, allocations: 3.938 kB / 0.5712 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.645e-05/0.1681, allocations: 19.91 kB / 0.5713 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.1682, allocations: 11.94 kB / 0.5713 GB, free: 5.527 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1682, allocations: 4 kB / 0.5713 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007246/0.1754, allocations: 3.851 MB / 0.575 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.1754, allocations: 3.938 kB / 0.575 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.1755, allocations: 19.92 kB / 0.5751 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004519/0.18, allocations: 1.98 MB / 0.577 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.18, allocations: 0 / 0.577 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.18, allocations: 0 / 0.577 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.18, allocations: 0 / 0.577 GB, free: 15.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001362/0.1814, allocations: 0.5759 MB / 0.5775 GB, free: 15.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1814, allocations: 11.97 kB / 0.5776 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.1815, allocations: 30.75 kB / 0.5776 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.1816, allocations: 16.88 kB / 0.5776 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1818, allocations: 168.3 kB / 0.5778 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1818, allocations: 4.375 kB / 0.5778 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.1818, allocations: 384 / 0.5778 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.1821, allocations: 91.3 kB / 0.5779 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1821, allocations: 3.938 kB / 0.5779 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1821, allocations: 8 kB / 0.5779 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1821, allocations: 0 / 0.5779 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.1823, allocations: 43.91 kB / 0.5779 GB, free: 14.61 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.1828, allocations: 365 kB / 0.5783 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.183, allocations: 54.53 kB / 0.5783 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.1831, allocations: 12.86 kB / 0.5783 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02264/0.2057, allocations: 10.42 MB / 0.5885 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.2057, allocations: 30.56 kB / 0.5885 GB, free: 2.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.2057, allocations: 7.938 kB / 0.5885 GB, free: 2.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004875/0.2062, allocations: 101.6 kB / 0.5886 GB, free: 2.367 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.2063, allocations: 51.41 kB / 0.5887 GB, free: 2.305 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.2064, allocations: 110.1 kB / 0.5888 GB, free: 2.188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.2064, allocations: 25.7 kB / 0.5888 GB, free: 2.156 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.2064, allocations: 88.09 kB / 0.5889 GB, free: 2.066 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.2065, allocations: 19.84 kB / 0.5889 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.2065, allocations: 21.7 kB / 0.5889 GB, free: 2.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2066, allocations: 314.8 kB / 0.5892 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.2067, allocations: 12 kB / 0.5892 GB, free: 1.691 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.176e-05/0.2067, allocations: 30.56 kB / 0.5893 GB, free: 1.652 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/0.2068, allocations: 38.55 kB / 0.5893 GB, free: 1.605 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2068, allocations: 0 / 0.5893 GB, free: 1.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001206/0.2069, allocations: 65.67 kB / 0.5894 GB, free: 1.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2069, allocations: 12 kB / 0.5894 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2069, allocations: 0 / 0.5894 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2069, allocations: 0 / 0.5894 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.207, allocations: 15.94 kB / 0.5894 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.207, allocations: 4 kB / 0.5894 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.207, allocations: 7.891 kB / 0.5894 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.2071, allocations: 4 kB / 0.5894 GB, free: 1.492 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.735e-05/0.2071, allocations: 109.8 kB / 0.5895 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.2072, allocations: 8.109 kB / 0.5895 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.2076, allocations: 375 kB / 0.5899 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2076, allocations: 4 kB / 0.5899 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2076, allocations: 0 / 0.5899 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.2076, allocations: 7.875 kB / 0.5899 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.2079, allocations: 290.2 kB / 0.5902 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2079, allocations: 3.938 kB / 0.5902 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.208, allocations: 4 kB / 0.5902 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.208, allocations: 4 kB / 0.5902 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.208, allocations: 3.984 kB / 0.5902 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.208, allocations: 4 kB / 0.5902 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.208, allocations: 3.938 kB / 0.5902 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.2082, allocations: 281.7 kB / 0.5905 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.2083, allocations: 92.95 kB / 0.5906 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2083, allocations: 4 kB / 0.5906 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.2084, allocations: 0 / 0.5906 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.2084, allocations: 4 kB / 0.5906 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.2084, allocations: 7.938 kB / 0.5906 GB, free: 216 kB / 446.1 MB Notification: Performance of sorting global known variables: time 4.614e-05/0.2084, allocations: 83.27 kB / 0.5906 GB, free: 132 kB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2084, allocations: 0 / 0.5906 GB, free: 132 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.2561/0.4645, allocations: 445.7 kB / 0.5911 GB, free: 36.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002227/0.4667, allocations: 1.264 MB / 0.5923 GB, free: 36.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.4669, allocations: 86.86 kB / 0.5924 GB, free: 36.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4669, allocations: 0 / 0.5924 GB, free: 36.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.994e-05/0.467, allocations: 68.39 kB / 0.5925 GB, free: 36.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.4673, allocations: 23.19 kB / 0.5925 GB, free: 36.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.4682, allocations: 465 kB / 0.5929 GB, free: 36.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.4684, allocations: 0.7094 MB / 0.5936 GB, free: 35.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.883e-05/0.4684, allocations: 23.72 kB / 0.5936 GB, free: 35.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.4685, allocations: 31.58 kB / 0.5937 GB, free: 35.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4685, allocations: 3.578 kB / 0.5937 GB, free: 35.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05022/0.5187, allocations: 15.64 MB / 0.6089 GB, free: 30.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.568/9.087, allocations: 5.688 kB / 0.6089 GB, free: 30.81 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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: 12.265056397998706]