Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001151/0.001151, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.00115/0.00115, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2048/0.2048, allocations: 44.18 MB / 336.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 71.81 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3392, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.003587/0.3428, allocations: 2.883 MB / 0.5213 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.346, allocations: 2.459 MB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.3463, allocations: 6.344 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.3467, allocations: 124.3 kB / 0.5238 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.3473, allocations: 234.1 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.3486, allocations: 0.5237 MB / 0.5246 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.3497, allocations: 0.9403 MB / 0.5255 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3498, allocations: 113 kB / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.3503, allocations: 332.8 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/0.3508, allocations: 405.4 kB / 0.5263 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.899e-05/0.3508, allocations: 28.03 kB / 0.5263 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.3524, allocations: 0.9328 MB / 0.5272 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.3527, allocations: 268 kB / 0.5275 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.3531, allocations: 464.4 kB / 0.5279 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.3549, allocations: 1.369 MB / 0.5293 GB, free: 12.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3549, allocations: 1.031 kB / 0.5293 GB, free: 12.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3549, allocations: 0 / 0.5293 GB, free: 12.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.3549, allocations: 4 kB / 0.5293 GB, free: 12.5 MB / 398.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.002528/0.3574, allocations: 1.498 MB / 0.5307 GB, free: 11.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3575, allocations: 9.219 kB / 0.5307 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.3577, allocations: 162.1 kB / 0.5309 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.3579, allocations: 131.6 kB / 0.531 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/0.3587, allocations: 0.5151 MB / 0.5315 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/0.3588, allocations: 76.19 kB / 0.5316 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.3589, allocations: 87.88 kB / 0.5317 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.361, allocations: 1.418 MB / 0.5331 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.3611, allocations: 0 / 0.5331 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/0.3611, allocations: 46.98 kB / 0.5331 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.519e-05/0.3612, allocations: 65.64 kB / 0.5332 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.3637, allocations: 1.37 MB / 0.5345 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004509/0.3682, allocations: 3.092 MB / 0.5375 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.3696, allocations: 0.7153 MB / 0.5382 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006841/0.3703, allocations: 284.3 kB / 0.5385 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.692e-05/0.3704, allocations: 18.78 kB / 0.5385 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.3705, allocations: 41.98 kB / 0.5386 GB, free: 6.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.3705, allocations: 0 / 0.5386 GB, free: 6.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002622/0.3731, allocations: 0.9387 MB / 0.5395 GB, free: 5.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.3732, allocations: 191.5 kB / 0.5397 GB, free: 5.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.3749, allocations: 1.356 MB / 0.541 GB, free: 4.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.375, allocations: 33.7 kB / 0.541 GB, free: 4.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/0.3754, allocations: 0.5441 MB / 0.5415 GB, free: 4.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3756, allocations: 127 kB / 0.5417 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.3758, allocations: 154.2 kB / 0.5418 GB, free: 3.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.376, allocations: 334 kB / 0.5421 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/0.3767, allocations: 301 kB / 0.5424 GB, free: 3.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009413/0.3776, allocations: 0.6208 MB / 0.543 GB, free: 2.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.3794, allocations: 0.9721 MB / 0.544 GB, free: 1.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3794, allocations: 4 kB / 0.544 GB, free: 1.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001968/0.3814, allocations: 1.043 MB / 0.545 GB, free: 164 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.3815, allocations: 12 kB / 0.545 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3815, allocations: 11.94 kB / 0.545 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.3815, allocations: 16 kB / 0.545 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.3821, allocations: 160.1 kB / 0.5452 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/0.3822, allocations: 27.92 kB / 0.5452 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.3831, allocations: 174.6 kB / 0.5454 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.93e-05/0.3831, allocations: 43.98 kB / 0.5454 GB, free: 15.72 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.0005523/0.3837, allocations: 367.5 kB / 0.5458 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.3839, allocations: 139.1 kB / 0.5459 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.3853, allocations: 0.7507 MB / 0.5466 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3853, allocations: 4 kB / 0.5466 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.3853, allocations: 11.98 kB / 0.5467 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3853, allocations: 0 / 0.5467 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.3866, allocations: 0.7141 MB / 0.5474 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3866, allocations: 3.938 kB / 0.5474 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.387, allocations: 99.86 kB / 0.5474 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.387, allocations: 4 kB / 0.5475 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.3871, allocations: 20 kB / 0.5475 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3871, allocations: 0 / 0.5475 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3871, allocations: 4 kB / 0.5475 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.3887, allocations: 1.165 MB / 0.5486 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.389, allocations: 204.2 kB / 0.5488 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.3891, allocations: 8 kB / 0.5488 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.3898, allocations: 43.95 kB / 0.5489 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.3899, allocations: 39.95 kB / 0.5489 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.3899, allocations: 12 kB / 0.5489 GB, free: 12.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001074/0.391, allocations: 0.935 MB / 0.5498 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.391, allocations: 0 / 0.5498 GB, free: 11.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0011/0.3921, allocations: 299.5 kB / 0.5501 GB, free: 10.8 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.002439/0.3946, allocations: 1.855 MB / 0.5519 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.3962, allocations: 0.7058 MB / 0.5526 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3962, allocations: 0 / 0.5526 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007074/0.3969, allocations: 308.4 kB / 0.5529 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.3984, allocations: 268.2 kB / 0.5532 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.4143, allocations: 11.18 MB / 0.5641 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008538/0.4152, allocations: 1.169 MB / 0.5652 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001052/0.4163, allocations: 386.7 kB / 0.5656 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000533/0.4168, allocations: 399.3 kB / 0.566 GB, free: 9.988 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4168, allocations: 0 / 0.566 GB, free: 9.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05821/0.4751, allocations: 27.63 MB / 0.5929 GB, free: 14.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.838/10.31, allocations: 16.16 kB / 0.593 GB, free: 14.69 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_twoPhaseOverall_KC/kc_twoPhaseOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches