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.001221/0.001221, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001339, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.09 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 76.94 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1242, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.004107/0.1284, allocations: 2.906 MB / 483.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004052/0.1325, allocations: 2.578 MB / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.1328, allocations: 7.938 kB / 485.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.1332, allocations: 119.4 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.1337, allocations: 226.6 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.1354, allocations: 0.5522 MB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1366, allocations: 0.9364 MB / 487.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.1368, allocations: 122.2 kB / 487.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006357/0.1374, allocations: 338 kB / 487.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006844/0.1381, allocations: 405.7 kB / 488.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.1383, allocations: 27.94 kB / 488.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.1401, allocations: 0.9553 MB / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.1404, allocations: 266.6 kB / 489.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005764/0.1409, allocations: 456.6 kB / 490 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.1429, allocations: 1.37 MB / 491.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1429, allocations: 4 kB / 491.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.1429, allocations: 0 / 491.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.956e-05/0.143, allocations: 3.938 kB / 491.4 MB, free: 9.91 MB / 366.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.00235/0.1453, allocations: 1.453 MB / 492.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1454, allocations: 12.03 kB / 492.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.1456, allocations: 161.1 kB / 493 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009172/0.1465, allocations: 195.2 kB / 493.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.1473, allocations: 0.5183 MB / 493.7 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.1473, allocations: 77.92 kB / 493.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.1475, allocations: 92 kB / 493.9 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.1496, allocations: 1.419 MB / 495.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.1496, allocations: 0 / 495.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-05/0.1497, allocations: 40 kB / 495.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.543e-05/0.1498, allocations: 70.08 kB / 495.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.152, allocations: 1.367 MB / 496.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/0.1564, allocations: 3.078 MB / 499.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.1577, allocations: 0.7109 MB / 0.4888 GB, free: 448 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006556/0.1584, allocations: 293.4 kB / 0.4891 GB, free: 136 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.739e-05/0.1585, allocations: 20.09 kB / 0.4891 GB, free: 116 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1585, allocations: 50.72 kB / 0.4892 GB, free: 56 kB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.314e-06/0.1585, allocations: 0 / 0.4892 GB, free: 56 kB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002341/0.1609, allocations: 0.9351 MB / 0.4901 GB, free: 15.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/0.161, allocations: 183.9 kB / 0.4903 GB, free: 14.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.1627, allocations: 1.354 MB / 0.4916 GB, free: 13.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/0.1628, allocations: 33.7 kB / 0.4916 GB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.1632, allocations: 0.5433 MB / 0.4921 GB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.1634, allocations: 114.4 kB / 0.4923 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.1636, allocations: 158.1 kB / 0.4924 GB, free: 12.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1638, allocations: 334 kB / 0.4927 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007133/0.1645, allocations: 301 kB / 0.493 GB, free: 12.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/0.1654, allocations: 0.6169 MB / 0.4936 GB, free: 11.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.1672, allocations: 0.9751 MB / 0.4946 GB, free: 10.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.1673, allocations: 4 kB / 0.4946 GB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002176/0.1695, allocations: 1.036 MB / 0.4956 GB, free: 9.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1695, allocations: 12.03 kB / 0.4956 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.1695, allocations: 12 kB / 0.4956 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.1696, allocations: 16 kB / 0.4956 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/0.1702, allocations: 163.6 kB / 0.4958 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/0.1702, allocations: 19.94 kB / 0.4958 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.1711, allocations: 166.3 kB / 0.496 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.703e-05/0.1711, allocations: 43.98 kB / 0.496 GB, free: 8.656 MB / 382.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.0005747/0.1717, allocations: 371.5 kB / 0.4963 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.172, allocations: 126.3 kB / 0.4965 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.1735, allocations: 0.7587 MB / 0.4972 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1735, allocations: 4 kB / 0.4972 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1735, allocations: 0 / 0.4972 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1735, allocations: 7.984 kB / 0.4972 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.1748, allocations: 0.7102 MB / 0.4979 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.1748, allocations: 11.92 kB / 0.4979 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.1753, allocations: 99.88 kB / 0.498 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/0.1753, allocations: 4 kB / 0.498 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.1753, allocations: 19.98 kB / 0.498 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1753, allocations: 3.938 kB / 0.498 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.1753, allocations: 4 kB / 0.4981 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.1771, allocations: 1.168 MB / 0.4992 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.1774, allocations: 199.4 kB / 0.4994 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.1775, allocations: 8 kB / 0.4994 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/0.1782, allocations: 35.95 kB / 0.4994 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.1783, allocations: 43.95 kB / 0.4995 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.1784, allocations: 20 kB / 0.4995 GB, free: 4.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.1796, allocations: 0.9313 MB / 0.5004 GB, free: 4.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1796, allocations: 0 / 0.5004 GB, free: 4.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001142/0.1808, allocations: 303.9 kB / 0.5007 GB, free: 3.73 MB / 382.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.00257/0.1833, allocations: 1.852 MB / 0.5025 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.185, allocations: 0.7562 MB / 0.5032 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1851, allocations: 0 / 0.5032 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007094/0.1858, allocations: 304.5 kB / 0.5035 GB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.1874, allocations: 263.8 kB / 0.5038 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2312/0.4187, allocations: 12.21 MB / 0.5157 GB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.4198, allocations: 1.162 MB / 0.5168 GB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001129/0.4209, allocations: 392.2 kB / 0.5172 GB, free: 35.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/0.4214, allocations: 398.5 kB / 0.5176 GB, free: 35.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.454e-06/0.4214, allocations: 0 / 0.5176 GB, free: 35.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05156/0.473, allocations: 27.54 MB / 0.5445 GB, free: 15.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.827, allocations: 7.75 kB / 0.5445 GB, free: 15.07 MB / 382.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