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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007918/0.0007918, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008496/0.0008496, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8949/0.8949, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2755/0.2755, allocations: 32.78 MB / 293.5 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 439.6 MB, free: 4.184 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.572e-05, allocations: 8.047 kB / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.002698/0.002714, allocations: 2.703 MB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1909/0.1937, allocations: 2.305 MB / 444.7 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.194, allocations: 2.781 kB / 444.7 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.1943, allocations: 116 kB / 444.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.1946, allocations: 254.5 kB / 445 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007989/0.1954, allocations: 0.556 MB / 445.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.1958, allocations: 0.9896 MB / 446.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.243e-05/0.1959, allocations: 38.64 kB / 446.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.1962, allocations: 450.8 kB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.1965, allocations: 348.2 kB / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.1965, allocations: 25.69 kB / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.1969, allocations: 444.2 kB / 447.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1971, allocations: 289 kB / 448.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.1972, allocations: 278.9 kB / 448.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.1979, allocations: 1.215 MB / 449.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1979, allocations: 0 / 449.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1979, allocations: 0 / 449.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1979, allocations: 2.75 kB / 449.6 MB, free: 42.27 MB / 410.7 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.001068/0.199, allocations: 1.409 MB / 451 MB, free: 41.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.199, allocations: 14.81 kB / 451 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.616e-05/0.1991, allocations: 164.1 kB / 451.2 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/0.1995, allocations: 200.4 kB / 451.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.1999, allocations: 483.4 kB / 451.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.1999, allocations: 71.22 kB / 451.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.2, allocations: 91.45 kB / 452 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.201, allocations: 1.421 MB / 453.5 MB, free: 40.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.201, allocations: 4 kB / 453.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.2011, allocations: 41.84 kB / 453.5 MB, free: 40.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.2011, allocations: 69.16 kB / 453.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.2023, allocations: 1.373 MB / 454.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.2044, allocations: 2.896 MB / 457.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.2052, allocations: 0.7005 MB / 458.5 MB, free: 38.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.2055, allocations: 281.9 kB / 458.8 MB, free: 38.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.2056, allocations: 10.55 kB / 458.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.2056, allocations: 42.84 kB / 458.9 MB, free: 38.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.2056, allocations: 2.969 kB / 458.9 MB, free: 38.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001238/0.2068, allocations: 0.9425 MB / 459.8 MB, free: 37.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2069, allocations: 187.8 kB / 460 MB, free: 37.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/0.2077, allocations: 1.375 MB / 461.4 MB, free: 37.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.2077, allocations: 36.67 kB / 461.4 MB, free: 37.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.2079, allocations: 0.5493 MB / 462 MB, free: 36.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.208, allocations: 122.6 kB / 462.1 MB, free: 36.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.2081, allocations: 154.3 kB / 462.2 MB, free: 36.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.2082, allocations: 331.5 kB / 462.5 MB, free: 36.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.2085, allocations: 306 kB / 462.8 MB, free: 36.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.209, allocations: 0.6174 MB / 463.5 MB, free: 35.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008251/0.2098, allocations: 0.9774 MB / 464.4 MB, free: 35.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2098, allocations: 3.375 kB / 464.4 MB, free: 35.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001036/0.2108, allocations: 1.038 MB / 465.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2109, allocations: 9.688 kB / 465.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2109, allocations: 14.72 kB / 465.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.2109, allocations: 16.59 kB / 465.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.2112, allocations: 165.9 kB / 465.7 MB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.2112, allocations: 20.17 kB / 465.7 MB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.2115, allocations: 176.7 kB / 465.9 MB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.2116, allocations: 45.94 kB / 465.9 MB, free: 34.68 MB / 410.7 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.0002611/0.2118, allocations: 369.2 kB / 466.3 MB, free: 34.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2119, allocations: 126.1 kB / 466.4 MB, free: 34.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007809/0.2127, allocations: 0.754 MB / 467.2 MB, free: 34.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.2127, allocations: 9.812 kB / 467.2 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2127, allocations: 6.844 kB / 467.2 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2127, allocations: 3.141 kB / 467.2 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006369/0.2134, allocations: 0.6247 MB / 467.8 MB, free: 33.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2134, allocations: 5.641 kB / 467.8 MB, free: 33.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.2136, allocations: 100.9 kB / 467.9 MB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2136, allocations: 3 kB / 467.9 MB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.2136, allocations: 20.55 kB / 467.9 MB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2136, allocations: 7.094 kB / 467.9 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2136, allocations: 4 kB / 467.9 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.2144, allocations: 1.161 MB / 469.1 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2145, allocations: 131.7 kB / 469.2 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.2146, allocations: 7.031 kB / 469.2 MB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.2149, allocations: 39.81 kB / 469.3 MB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.215, allocations: 39.92 kB / 469.3 MB, free: 33.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.215, allocations: 23.12 kB / 469.3 MB, free: 33.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006084/0.2156, allocations: 0.9351 MB / 470.3 MB, free: 32.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2156, allocations: 0 / 470.3 MB, free: 32.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008218/0.2165, allocations: 306.2 kB / 470.6 MB, free: 32.76 MB / 410.7 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.001198/0.2177, allocations: 1.86 MB / 472.4 MB, free: 31.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008178/0.2185, allocations: 0.6951 MB / 473.1 MB, free: 31.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2185, allocations: 0 / 473.1 MB, free: 31.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.2188, allocations: 302.4 kB / 473.4 MB, free: 31.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008626/0.2197, allocations: 257.1 kB / 473.7 MB, free: 31.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.2299, allocations: 11.25 MB / 484.9 MB, free: 26.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.2303, allocations: 0.5677 MB / 485.5 MB, free: 26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005574/0.2309, allocations: 397 kB / 485.9 MB, free: 25.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.2312, allocations: 397.5 kB / 486.3 MB, free: 25.63 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2312, allocations: 0 / 486.3 MB, free: 25.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.2684, allocations: 30.27 MB / 0.5044 GB, free: 7.141 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.74, allocations: 0 / 0.5044 GB, free: 7.141 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat","/var/lib/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.198848120868206]