Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001535/0.001535, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001919/0.001919, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2451/0.2451, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 75.88 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3193, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.004773/0.3241, allocations: 2.89 MB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004048/0.3282, allocations: 2.594 MB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.3285, allocations: 2.75 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.3291, allocations: 118.7 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005974/0.3297, allocations: 237.4 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.3313, allocations: 0.5563 MB / 0.5368 GB, free: 8.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.3326, allocations: 0.9411 MB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.3328, allocations: 112.6 kB / 0.5378 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005718/0.3334, allocations: 338.5 kB / 0.5382 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.3339, allocations: 407 kB / 0.5386 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-05/0.334, allocations: 24.28 kB / 0.5386 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.3357, allocations: 0.9619 MB / 0.5395 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.336, allocations: 269.1 kB / 0.5398 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005801/0.3366, allocations: 458.9 kB / 0.5402 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.3388, allocations: 1.398 MB / 0.5416 GB, free: 5.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3389, allocations: 1.125 kB / 0.5416 GB, free: 5.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.3389, allocations: 0 / 0.5416 GB, free: 5.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.3389, allocations: 0 / 0.5416 GB, free: 5.434 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.002877/0.3418, allocations: 1.497 MB / 0.543 GB, free: 4.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.3418, allocations: 9.406 kB / 0.543 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/0.3421, allocations: 162.8 kB / 0.5432 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009282/0.343, allocations: 204.2 kB / 0.5434 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009407/0.344, allocations: 0.5187 MB / 0.5439 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/0.344, allocations: 80.34 kB / 0.544 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.3442, allocations: 92.05 kB / 0.5441 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.3463, allocations: 1.427 MB / 0.5455 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.3464, allocations: 3.938 kB / 0.5455 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/0.3464, allocations: 40 kB / 0.5455 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.749e-05/0.3465, allocations: 70.08 kB / 0.5456 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.3486, allocations: 1.37 MB / 0.5469 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/0.3527, allocations: 3.084 MB / 0.5499 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.354, allocations: 0.7186 MB / 0.5506 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/0.3546, allocations: 289.4 kB / 0.5509 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.047e-05/0.3546, allocations: 16.14 kB / 0.5509 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.3547, allocations: 46.73 kB / 0.551 GB, free: 12.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.3547, allocations: 0 / 0.551 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002204/0.3569, allocations: 0.9356 MB / 0.5519 GB, free: 11.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.357, allocations: 196.2 kB / 0.5521 GB, free: 11.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.3585, allocations: 1.354 MB / 0.5534 GB, free: 9.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.3586, allocations: 29.7 kB / 0.5534 GB, free: 9.945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.359, allocations: 0.5481 MB / 0.5539 GB, free: 9.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3591, allocations: 123 kB / 0.5541 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.3594, allocations: 158.2 kB / 0.5542 GB, free: 9.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3595, allocations: 330 kB / 0.5545 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006668/0.3602, allocations: 301 kB / 0.5548 GB, free: 8.492 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009099/0.3611, allocations: 0.6247 MB / 0.5554 GB, free: 7.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.3627, allocations: 0.9721 MB / 0.5564 GB, free: 6.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.3627, allocations: 4 kB / 0.5564 GB, free: 6.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001985/0.3647, allocations: 1.043 MB / 0.5574 GB, free: 5.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3647, allocations: 10.19 kB / 0.5574 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.3647, allocations: 12 kB / 0.5574 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.3648, allocations: 16 kB / 0.5574 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.3654, allocations: 163.6 kB / 0.5576 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.3654, allocations: 19.94 kB / 0.5576 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008481/0.3662, allocations: 174.8 kB / 0.5578 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.3663, allocations: 51.98 kB / 0.5578 GB, free: 5.086 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.0004982/0.3668, allocations: 355.6 kB / 0.5582 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.3671, allocations: 131.1 kB / 0.5583 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.3684, allocations: 0.7587 MB / 0.559 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.3684, allocations: 7.938 kB / 0.559 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3684, allocations: 4 kB / 0.559 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3684, allocations: 7.984 kB / 0.559 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.3697, allocations: 0.718 MB / 0.5598 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3698, allocations: 3.938 kB / 0.5598 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.3702, allocations: 95.88 kB / 0.5598 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.3702, allocations: 4 kB / 0.5598 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.3702, allocations: 23.98 kB / 0.5599 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.3702, allocations: 0 / 0.5599 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3703, allocations: 4 kB / 0.5599 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.3718, allocations: 1.165 MB / 0.561 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/0.3721, allocations: 208.1 kB / 0.5612 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.3723, allocations: 12 kB / 0.5612 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/0.373, allocations: 39.95 kB / 0.5613 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3731, allocations: 43.95 kB / 0.5613 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.3732, allocations: 16 kB / 0.5613 GB, free: 1.391 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00108/0.3743, allocations: 0.9313 MB / 0.5622 GB, free: 468 kB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3743, allocations: 0 / 0.5622 GB, free: 468 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001167/0.3754, allocations: 311.4 kB / 0.5625 GB, free: 156 kB / 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.002531/0.378, allocations: 1.864 MB / 0.5643 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.3797, allocations: 0.7059 MB / 0.565 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3797, allocations: 3.938 kB / 0.565 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007628/0.3805, allocations: 299.5 kB / 0.5653 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.3821, allocations: 268.3 kB / 0.5656 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.3974, allocations: 11.2 MB / 0.5765 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/0.3981, allocations: 1.165 MB / 0.5777 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009006/0.3991, allocations: 390.6 kB / 0.578 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005108/0.3996, allocations: 391.3 kB / 0.5784 GB, free: 15.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3996, allocations: 4 kB / 0.5784 GB, free: 15.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05372/0.4533, allocations: 27.85 MB / 0.6056 GB, free: 3.805 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.881/10.33, allocations: 448 / 0.6056 GB, free: 3.805 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches