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.001302/0.001302, allocations: 115.7 kB / 17.78 MB, free: 5.254 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.001243/0.001243, allocations: 185 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.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2203/0.2203, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 75.88 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3483, allocations: 60.83 MB / 0.5185 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.00417/0.3525, allocations: 2.866 MB / 0.5213 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.3562, allocations: 2.467 MB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003167/0.3566, allocations: 2.469 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.357, allocations: 119.9 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.3576, allocations: 221.7 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.3593, allocations: 0.5224 MB / 0.5245 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.3606, allocations: 0.9452 MB / 0.5255 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.3608, allocations: 116.9 kB / 0.5256 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.3612, allocations: 332.1 kB / 0.5259 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.3618, allocations: 405.3 kB / 0.5263 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.3619, allocations: 24.19 kB / 0.5263 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.364, allocations: 0.9393 MB / 0.5272 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.3643, allocations: 264 kB / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005189/0.3648, allocations: 467.5 kB / 0.5279 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.3669, allocations: 1.37 MB / 0.5293 GB, free: 12.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3669, allocations: 0 / 0.5293 GB, free: 12.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3669, allocations: 1.406 kB / 0.5293 GB, free: 12.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.367, allocations: 0 / 0.5293 GB, free: 12.37 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.003204/0.3702, allocations: 1.489 MB / 0.5307 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.3703, allocations: 9.906 kB / 0.5307 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002411/0.3705, allocations: 165.7 kB / 0.5309 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/0.3708, allocations: 130.5 kB / 0.531 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008477/0.3717, allocations: 0.5198 MB / 0.5315 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.3717, allocations: 75.28 kB / 0.5316 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.3719, allocations: 89.31 kB / 0.5317 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.3742, allocations: 1.421 MB / 0.5331 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.3743, allocations: 1.094 kB / 0.5331 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/0.3743, allocations: 35.59 kB / 0.5331 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.923e-05/0.3744, allocations: 73.48 kB / 0.5332 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/0.3769, allocations: 1.365 MB / 0.5345 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.3817, allocations: 3.088 MB / 0.5375 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.3831, allocations: 0.7148 MB / 0.5382 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.3838, allocations: 289.6 kB / 0.5385 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.687e-05/0.3838, allocations: 13.42 kB / 0.5385 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.3839, allocations: 46.33 kB / 0.5385 GB, free: 6.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 3.025e-06/0.3839, allocations: 0 / 0.5385 GB, free: 6.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002408/0.3863, allocations: 0.9426 MB / 0.5395 GB, free: 5.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.3864, allocations: 188.2 kB / 0.5396 GB, free: 5.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.3882, allocations: 1.362 MB / 0.541 GB, free: 4.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.3883, allocations: 29.7 kB / 0.541 GB, free: 4.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/0.3888, allocations: 0.5441 MB / 0.5415 GB, free: 3.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.3889, allocations: 119 kB / 0.5416 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.3892, allocations: 158.2 kB / 0.5418 GB, free: 3.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3893, allocations: 334 kB / 0.5421 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007158/0.3901, allocations: 305 kB / 0.5424 GB, free: 3.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009951/0.3911, allocations: 0.6246 MB / 0.543 GB, free: 2.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.3928, allocations: 0.9683 MB / 0.544 GB, free: 1.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.3929, allocations: 0 / 0.544 GB, free: 1.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002207/0.3951, allocations: 1.051 MB / 0.545 GB, free: 72 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3951, allocations: 8 kB / 0.545 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.3951, allocations: 12 kB / 0.545 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.3952, allocations: 16 kB / 0.545 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.3958, allocations: 159.8 kB / 0.5452 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/0.3958, allocations: 23.92 kB / 0.5452 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009693/0.3968, allocations: 174.7 kB / 0.5454 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-05/0.3969, allocations: 47.94 kB / 0.5454 GB, free: 15.63 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.0006632/0.3976, allocations: 375.5 kB / 0.5458 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.3978, allocations: 123.1 kB / 0.5459 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.3993, allocations: 0.7586 MB / 0.5466 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.3994, allocations: 4 kB / 0.5466 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3994, allocations: 4 kB / 0.5466 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3994, allocations: 0 / 0.5466 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.4007, allocations: 0.7141 MB / 0.5473 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4008, allocations: 7.938 kB / 0.5473 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.4012, allocations: 107.9 kB / 0.5474 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4012, allocations: 0 / 0.5474 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.4013, allocations: 20 kB / 0.5475 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.4013, allocations: 4 kB / 0.5475 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4013, allocations: 0 / 0.5475 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.403, allocations: 1.165 MB / 0.5486 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.4034, allocations: 208.1 kB / 0.5488 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.4035, allocations: 7.984 kB / 0.5488 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.4041, allocations: 31.97 kB / 0.5488 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.4043, allocations: 43.95 kB / 0.5489 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.4043, allocations: 20 kB / 0.5489 GB, free: 11.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.4055, allocations: 0.9311 MB / 0.5498 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4055, allocations: 0 / 0.5498 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001103/0.4067, allocations: 299.5 kB / 0.5501 GB, free: 10.71 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.002846/0.4095, allocations: 1.859 MB / 0.5519 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001807/0.4113, allocations: 0.6982 MB / 0.5526 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4114, allocations: 0 / 0.5526 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.4121, allocations: 308.1 kB / 0.5529 GB, free: 7.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.4139, allocations: 272.9 kB / 0.5531 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/0.4308, allocations: 11.18 MB / 0.5641 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008903/0.4317, allocations: 1.153 MB / 0.5652 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009535/0.4327, allocations: 394.6 kB / 0.5656 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.4332, allocations: 387.3 kB / 0.5659 GB, free: 9.914 MB / 430.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4332, allocations: 0 / 0.5659 GB, free: 9.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06079/0.494, allocations: 27.65 MB / 0.5929 GB, free: 14.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.69, allocations: 15.73 kB / 0.593 GB, free: 14.59 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