Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",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.001189/0.001189, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001178/0.001178, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1976/0.1976, allocations: 44.17 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.321, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03869/0.3598, allocations: 39.03 MB / 0.5566 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02171/0.3815, allocations: 20.14 MB / 0.5762 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009849/0.3825, allocations: 19.88 kB / 0.5762 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.3838, allocations: 449.3 kB / 0.5767 GB, free: 316 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01751/0.4014, allocations: 5.136 MB / 0.5817 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007217/0.4086, allocations: 2.563 MB / 0.5842 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002444/0.4111, allocations: 1.973 MB / 0.5861 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006562/0.4117, allocations: 477.5 kB / 0.5866 GB, free: 6.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008877/0.4206, allocations: 4.16 MB / 0.5906 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.4311, allocations: 5.424 MB / 0.5959 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.4313, allocations: 64 kB / 0.596 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.4442, allocations: 7.247 MB / 0.6031 GB, free: 5.102 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005744/0.4448, allocations: 275.2 kB / 0.6033 GB, free: 4.832 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007965/0.4456, allocations: 446 kB / 0.6038 GB, free: 4.395 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.4588, allocations: 4.976 MB / 0.6086 GB, free: 15.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4588, allocations: 7.938 kB / 0.6086 GB, free: 15.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4588, allocations: 0 / 0.6086 GB, free: 15.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.4588, allocations: 0 / 0.6086 GB, free: 15.4 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004016/0.4629, allocations: 1.672 MB / 0.6103 GB, free: 13.67 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4629, allocations: 8.031 kB / 0.6103 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.4631, allocations: 114.7 kB / 0.6104 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.4645, allocations: 224.2 kB / 0.6106 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008858/0.4654, allocations: 0.5681 MB / 0.6111 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.4655, allocations: 109.3 kB / 0.6113 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/0.4656, allocations: 67.94 kB / 0.6113 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.4675, allocations: 1.075 MB / 0.6124 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.4675, allocations: 4 kB / 0.6124 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.4677, allocations: 31.98 kB / 0.6124 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.149e-05/0.4678, allocations: 44.92 kB / 0.6124 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.4696, allocations: 0.8194 MB / 0.6132 GB, free: 10.45 MB / 478.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.005517/0.4751, allocations: 5.558 MB / 0.6187 GB, free: 4.523 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.4763, allocations: 0.5387 MB / 0.6192 GB, free: 3.957 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.4766, allocations: 202.5 kB / 0.6194 GB, free: 3.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09399/0.5706, allocations: 47.68 MB / 0.6659 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.5707, allocations: 42.5 kB / 0.666 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 2.244e-06/0.5708, allocations: 0 / 0.666 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44): time 0.00656/0.5773, allocations: 2.168 MB / 0.6681 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.5774, allocations: 183.9 kB / 0.6683 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.5783, allocations: 0.6407 MB / 0.6689 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.5783, allocations: 33.7 kB / 0.6689 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.5786, allocations: 408.3 kB / 0.6693 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.5788, allocations: 170.6 kB / 0.6695 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.579, allocations: 158.5 kB / 0.6696 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.5792, allocations: 386.8 kB / 0.67 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.5796, allocations: 233.9 kB / 0.6702 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.5803, allocations: 0.5938 MB / 0.6708 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.5813, allocations: 0.86 MB / 0.6717 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.5813, allocations: 0 / 0.6717 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001476/0.5828, allocations: 0.8965 MB / 0.6725 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.5829, allocations: 12.17 kB / 0.6725 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.5829, allocations: 16 kB / 0.6726 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003188/0.5861, allocations: 268.5 kB / 0.6728 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.5873, allocations: 287.5 kB / 0.6731 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.589, allocations: 2.117 MB / 0.6752 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/0.5896, allocations: 32 kB / 0.6752 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.138e-05/0.5897, allocations: 43.98 kB / 0.6752 GB, free: 4.293 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003681/0.59, allocations: 273.5 kB / 0.6755 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.5902, allocations: 71.58 kB / 0.6756 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.5925, allocations: 2.011 MB / 0.6775 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.5925, allocations: 19.97 kB / 0.6775 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5925, allocations: 0 / 0.6775 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.5925, allocations: 7.984 kB / 0.6775 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.5958, allocations: 3.003 MB / 0.6805 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.5958, allocations: 4 kB / 0.6805 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009133/0.5967, allocations: 183.7 kB / 0.6807 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/0.5984, allocations: 299.9 kB / 0.6809 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.5985, allocations: 19.98 kB / 0.681 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.6002, allocations: 2.18 MB / 0.6831 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6002, allocations: 0 / 0.6831 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.6024, allocations: 1.957 MB / 0.685 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.6028, allocations: 232.2 kB / 0.6852 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.6029, allocations: 31.78 kB / 0.6853 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.6034, allocations: 15.98 kB / 0.6853 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.6034, allocations: 32.39 kB / 0.6853 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.6035, allocations: 16 kB / 0.6853 GB, free: 9.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000704/0.6042, allocations: 0.577 MB / 0.6859 GB, free: 9.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6042, allocations: 4 kB / 0.6859 GB, free: 9.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003455/0.6077, allocations: 1.096 MB / 0.687 GB, free: 7.969 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007441/0.6151, allocations: 3.597 MB / 0.6905 GB, free: 4.352 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.6171, allocations: 0.9246 MB / 0.6914 GB, free: 3.434 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.6171, allocations: 8.125 kB / 0.6914 GB, free: 3.426 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.6183, allocations: 0.6358 MB / 0.692 GB, free: 2.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.6204, allocations: 406.6 kB / 0.6924 GB, free: 2.402 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.6321, allocations: 8.272 MB / 0.7005 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.6328, allocations: 1.097 MB / 0.7015 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007981/0.6336, allocations: 350 kB / 0.7019 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/0.6341, allocations: 379.3 kB / 0.7022 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.6341, allocations: 0 / 0.7022 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3234/0.9575, allocations: 55.53 MB / 0.7565 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/15.7, allocations: 12.89 kB / 0.7565 GB, free: 172.2 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches