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.00137/0.001371, allocations: 101.4 kB / 16.27 MB, free: 5.93 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.001055/0.001055, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.346/1.346, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2217/0.2217, allocations: 43.51 MB / 313.9 MB, free: 0.5156 MB / 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.001479/0.001479, allocations: 66.72 kB / 382.9 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1017, allocations: 57.79 MB / 440.6 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.003403/0.1051, allocations: 2.875 MB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.108, allocations: 2.508 MB / 446 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.1083, allocations: 0 / 446 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.1087, allocations: 123.2 kB / 446.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.1092, allocations: 218.6 kB / 446.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1105, allocations: 0.5251 MB / 446.9 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008038/0.1114, allocations: 0.9364 MB / 447.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1115, allocations: 130.2 kB / 447.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.1119, allocations: 326 kB / 448.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.1123, allocations: 405.7 kB / 448.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.1124, allocations: 28 kB / 448.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.1139, allocations: 0.9358 MB / 449.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.1141, allocations: 262.7 kB / 449.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004476/0.1146, allocations: 456.7 kB / 450.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.116, allocations: 1.346 MB / 451.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.116, allocations: 0 / 451.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.116, allocations: 3.938 kB / 451.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.116, allocations: 0 / 451.7 MB, free: 11.65 MB / 334.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.002159/0.1182, allocations: 1.453 MB / 453.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1182, allocations: 11.97 kB / 453.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.1184, allocations: 169 kB / 453.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.1185, allocations: 123.3 kB / 453.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.1191, allocations: 0.5028 MB / 453.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.1192, allocations: 73.94 kB / 454 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.1193, allocations: 95.98 kB / 454.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.1212, allocations: 1.419 MB / 455.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.1212, allocations: 0 / 455.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/0.1213, allocations: 43.98 kB / 455.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.431e-05/0.1214, allocations: 70.08 kB / 455.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.1235, allocations: 1.374 MB / 457 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003829/0.1274, allocations: 3.07 MB / 460.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.1286, allocations: 0.7172 MB / 460.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.1293, allocations: 293.3 kB / 461.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.1293, allocations: 12.16 kB / 461.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.1294, allocations: 42.78 kB / 461.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.044e-06/0.1294, allocations: 0 / 461.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002297/0.1317, allocations: 0.9384 MB / 462.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.1318, allocations: 195.8 kB / 462.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.1334, allocations: 1.353 MB / 463.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.1334, allocations: 33.7 kB / 463.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.1339, allocations: 0.5395 MB / 464.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.134, allocations: 110.4 kB / 464.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.1342, allocations: 158.2 kB / 464.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1343, allocations: 334 kB / 464.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000677/0.135, allocations: 305 kB / 465.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008755/0.1359, allocations: 0.6169 MB / 465.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.1374, allocations: 0.9634 MB / 466.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.1375, allocations: 4 kB / 466.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001989/0.1395, allocations: 1.039 MB / 467.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.1395, allocations: 12 kB / 467.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.1395, allocations: 15.98 kB / 467.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.1396, allocations: 12.66 kB / 467.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/0.1401, allocations: 159.7 kB / 467.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.1402, allocations: 23.92 kB / 467.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000729/0.1409, allocations: 178.1 kB / 468.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.141, allocations: 44 kB / 468.1 MB, free: 10.47 MB / 350.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.0005638/0.1415, allocations: 375.5 kB / 468.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/0.1418, allocations: 118.4 kB / 468.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.1433, allocations: 0.7624 MB / 469.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1433, allocations: 4 kB / 469.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.1433, allocations: 8 kB / 469.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1433, allocations: 0 / 469.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.1445, allocations: 0.714 MB / 470.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1445, allocations: 3.938 kB / 470.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/0.1449, allocations: 103.9 kB / 470.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.1449, allocations: 4 kB / 470.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.145, allocations: 16 kB / 470.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.145, allocations: 0 / 470.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.145, allocations: 11.92 kB / 470.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.1466, allocations: 1.153 MB / 471.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.1468, allocations: 199.4 kB / 471.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.1469, allocations: 8 kB / 471.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005962/0.1475, allocations: 31.97 kB / 471.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1477, allocations: 43.89 kB / 471.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.1477, allocations: 23.92 kB / 471.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001033/0.1487, allocations: 0.935 MB / 472.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1488, allocations: 0 / 472.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001031/0.1498, allocations: 299.9 kB / 472.9 MB, free: 5.555 MB / 350.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.002227/0.152, allocations: 1.84 MB / 474.8 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.1537, allocations: 0.7517 MB / 475.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1537, allocations: 0 / 475.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.1544, allocations: 312.7 kB / 475.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.1558, allocations: 269.4 kB / 476.1 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/0.1719, allocations: 12.19 MB / 488.3 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008247/0.1728, allocations: 1.161 MB / 489.4 MB, free: 4.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009762/0.1738, allocations: 394.7 kB / 489.8 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.1743, allocations: 391.3 kB / 490.2 MB, free: 3.5 MB / 366.1 MB Notification: Performance of SimCode: time 1.974e-06/0.1744, allocations: 0 / 490.2 MB, free: 3.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05849/0.2329, allocations: 27.32 MB / 0.5054 GB, free: 8.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.711, allocations: 12.47 kB / 0.5054 GB, free: 8.191 MB / 398.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