Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",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.001211/0.001211, allocations: 106.7 kB / 16.41 MB, free: 6.5 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.00119/0.00119, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2196/0.2196, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 79.89 kB / 441.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.112, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.004278/0.1164, allocations: 2.867 MB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.1202, allocations: 2.512 MB / 0.4927 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.1205, allocations: 8 kB / 0.4927 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.1209, allocations: 115.2 kB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.1214, allocations: 222.6 kB / 0.4931 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.1228, allocations: 0.5291 MB / 0.4936 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.124, allocations: 0.9364 MB / 0.4945 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1242, allocations: 118.2 kB / 0.4946 GB, free: 4.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.1246, allocations: 334 kB / 0.4949 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.1251, allocations: 401.7 kB / 0.4953 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/0.1252, allocations: 31.94 kB / 0.4953 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.1269, allocations: 0.9358 MB / 0.4962 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.1272, allocations: 262.6 kB / 0.4965 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005557/0.1278, allocations: 464.6 kB / 0.4969 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.1297, allocations: 1.365 MB / 0.4983 GB, free: 1.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1297, allocations: 0 / 0.4983 GB, free: 1.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1297, allocations: 0 / 0.4983 GB, free: 1.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.1297, allocations: 4 kB / 0.4983 GB, free: 1.094 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002504/0.1322, allocations: 1.483 MB / 0.4997 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1323, allocations: 12.03 kB / 0.4997 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/0.1325, allocations: 169 kB / 0.4999 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.1327, allocations: 132 kB / 0.5 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007074/0.1334, allocations: 0.5111 MB / 0.5005 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.569e-05/0.1335, allocations: 81.81 kB / 0.5006 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.1336, allocations: 88 kB / 0.5007 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.1359, allocations: 1.427 MB / 0.5021 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.1359, allocations: 0 / 0.5021 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.136, allocations: 39.98 kB / 0.5021 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.984e-05/0.1361, allocations: 74.02 kB / 0.5022 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.1385, allocations: 1.363 MB / 0.5035 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004465/0.143, allocations: 3.095 MB / 0.5065 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.1444, allocations: 0.7186 MB / 0.5072 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/0.145, allocations: 285.4 kB / 0.5075 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.1451, allocations: 20.16 kB / 0.5075 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.1452, allocations: 42.73 kB / 0.5076 GB, free: 7.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.1452, allocations: 0 / 0.5076 GB, free: 7.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002404/0.1476, allocations: 0.9275 MB / 0.5085 GB, free: 6.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.1477, allocations: 195.8 kB / 0.5087 GB, free: 6.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.1496, allocations: 1.361 MB / 0.51 GB, free: 4.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.1496, allocations: 29.7 kB / 0.51 GB, free: 4.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/0.1501, allocations: 0.548 MB / 0.5106 GB, free: 4.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.1503, allocations: 119 kB / 0.5107 GB, free: 4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.1505, allocations: 158.2 kB / 0.5108 GB, free: 3.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1507, allocations: 334 kB / 0.5111 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.1514, allocations: 297 kB / 0.5114 GB, free: 3.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009824/0.1524, allocations: 0.6169 MB / 0.512 GB, free: 2.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.1542, allocations: 0.976 MB / 0.513 GB, free: 1.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.1542, allocations: 4 kB / 0.513 GB, free: 1.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002212/0.1564, allocations: 1.047 MB / 0.514 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.1565, allocations: 8 kB / 0.514 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.1565, allocations: 12 kB / 0.514 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.1565, allocations: 16 kB / 0.514 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.1571, allocations: 160 kB / 0.5142 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-05/0.1572, allocations: 31.86 kB / 0.5142 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.1579, allocations: 170.8 kB / 0.5144 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/0.158, allocations: 43.98 kB / 0.5144 GB, free: 15.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0005808/0.1586, allocations: 371.5 kB / 0.5148 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.1588, allocations: 135.1 kB / 0.5149 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.1603, allocations: 0.7508 MB / 0.5156 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.1603, allocations: 8 kB / 0.5157 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1603, allocations: 7.984 kB / 0.5157 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1604, allocations: 4 kB / 0.5157 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.1616, allocations: 0.7063 MB / 0.5164 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.1616, allocations: 7.938 kB / 0.5164 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.162, allocations: 103.9 kB / 0.5165 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.162, allocations: 0 / 0.5165 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.1621, allocations: 16 kB / 0.5165 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.1621, allocations: 7.938 kB / 0.5165 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1621, allocations: 0 / 0.5165 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.1638, allocations: 1.161 MB / 0.5176 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.1641, allocations: 216.1 kB / 0.5178 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.1642, allocations: 4 kB / 0.5178 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/0.1648, allocations: 43.89 kB / 0.5179 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.165, allocations: 39.95 kB / 0.5179 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.165, allocations: 20 kB / 0.5179 GB, free: 12.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001197/0.1662, allocations: 0.9272 MB / 0.5188 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1662, allocations: 0 / 0.5188 GB, free: 11.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001106/0.1673, allocations: 299.5 kB / 0.5191 GB, free: 10.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (32): * Single equations (assignments): 32 * 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.002687/0.17, allocations: 1.867 MB / 0.5209 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.1718, allocations: 0.7015 MB / 0.5216 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1718, allocations: 0 / 0.5216 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007405/0.1726, allocations: 307.6 kB / 0.5219 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.174, allocations: 263.8 kB / 0.5222 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2326/0.4067, allocations: 11.17 MB / 0.5331 GB, free: 38.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008104/0.4075, allocations: 1.157 MB / 0.5342 GB, free: 37.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008684/0.4084, allocations: 389 kB / 0.5346 GB, free: 37.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.4088, allocations: 397.7 kB / 0.535 GB, free: 37.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4089, allocations: 0 / 0.535 GB, free: 37.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06193/0.4708, allocations: 27.63 MB / 0.562 GB, free: 23.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.66, allocations: 12.31 kB / 0.562 GB, free: 23.83 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_twoPhaseOverall_KC/kc_twoPhaseOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches