Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008411/0.0008411, 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.0008133/0.0008133, 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.9065/0.9065, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2504/0.2504, allocations: 34.26 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_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_1_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.372e-06/1.372e-06, allocations: 0 / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.381e-05, allocations: 2.281 kB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.1923/0.1923, allocations: 2.696 MB / 444.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1942, allocations: 2.307 MB / 447.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1943, allocations: 2.969 kB / 447.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.1946, allocations: 122.8 kB / 447.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.1948, allocations: 243.6 kB / 447.6 MB, free: 41.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/0.1955, allocations: 0.5582 MB / 448.2 MB, free: 41.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.1959, allocations: 0.9896 MB / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.196, allocations: 40.98 kB / 449.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.1963, allocations: 436.2 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1965, allocations: 355.5 kB / 450 MB, free: 40.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.1965, allocations: 25.72 kB / 450 MB, free: 40.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.1969, allocations: 454 kB / 450.4 MB, free: 40.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1971, allocations: 280.5 kB / 450.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1972, allocations: 287.9 kB / 451 MB, free: 40.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006221/0.1978, allocations: 1.208 MB / 452.2 MB, free: 39.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1978, allocations: 2.781 kB / 452.2 MB, free: 39.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1978, allocations: 0 / 452.2 MB, free: 39.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1978, allocations: 3.938 kB / 452.2 MB, free: 39.92 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.001006/0.1988, allocations: 1.409 MB / 453.6 MB, free: 39.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1989, allocations: 11.78 kB / 453.6 MB, free: 39.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.226e-05/0.1989, allocations: 160.1 kB / 453.8 MB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003332/0.1993, allocations: 207.1 kB / 454 MB, free: 38.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.1997, allocations: 477.8 kB / 454.5 MB, free: 38.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.1997, allocations: 72.23 kB / 454.5 MB, free: 38.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.1998, allocations: 92.72 kB / 454.6 MB, free: 38.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009982/0.2008, allocations: 1.423 MB / 456 MB, free: 37.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2008, allocations: 7.688 kB / 456 MB, free: 37.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.2008, allocations: 37 kB / 456.1 MB, free: 37.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.2009, allocations: 74.06 kB / 456.2 MB, free: 37.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2019, allocations: 1.368 MB / 457.5 MB, free: 37.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.204, allocations: 2.896 MB / 460.4 MB, free: 35.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.2047, allocations: 0.6984 MB / 461.1 MB, free: 35.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.205, allocations: 281.9 kB / 461.4 MB, free: 35.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.2051, allocations: 9.672 kB / 461.4 MB, free: 35.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.2051, allocations: 52.95 kB / 461.5 MB, free: 35.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.2051, allocations: 0 / 461.5 MB, free: 35.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.00117/0.2063, allocations: 0.937 MB / 462.4 MB, free: 35.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.2063, allocations: 194.3 kB / 462.6 MB, free: 35.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008482/0.2071, allocations: 1.371 MB / 464 MB, free: 34.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.2072, allocations: 32.89 kB / 464 MB, free: 34.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.2074, allocations: 0.5492 MB / 464.5 MB, free: 34.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.2074, allocations: 128.4 kB / 464.7 MB, free: 34.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.2075, allocations: 153 kB / 464.8 MB, free: 34.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.2076, allocations: 330.1 kB / 465.1 MB, free: 33.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.2079, allocations: 304.1 kB / 465.4 MB, free: 33.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.2083, allocations: 0.6154 MB / 466 MB, free: 33.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/0.2092, allocations: 0.9727 MB / 467 MB, free: 32.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2092, allocations: 7.375 kB / 467 MB, free: 32.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001063/0.2102, allocations: 1.041 MB / 468.1 MB, free: 32.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2102, allocations: 9.344 kB / 468.1 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2102, allocations: 16.31 kB / 468.1 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2103, allocations: 19.59 kB / 468.1 MB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.2106, allocations: 164.1 kB / 468.3 MB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.2106, allocations: 22.83 kB / 468.3 MB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.2109, allocations: 171.1 kB / 468.5 MB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.2109, allocations: 42.12 kB / 468.5 MB, free: 32.2 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.0002601/0.2112, allocations: 371.5 kB / 468.9 MB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.2113, allocations: 124.4 kB / 469 MB, free: 31.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007636/0.2121, allocations: 0.7593 MB / 469.7 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2121, allocations: 9.391 kB / 469.8 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2121, allocations: 3.094 kB / 469.8 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.2121, allocations: 3.219 kB / 469.8 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.2127, allocations: 0.6361 MB / 470.4 MB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2127, allocations: 0 / 470.4 MB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.2129, allocations: 99.5 kB / 470.5 MB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2129, allocations: 4 kB / 470.5 MB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2129, allocations: 27.89 kB / 470.5 MB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2129, allocations: 6.906 kB / 470.5 MB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2129, allocations: 0 / 470.5 MB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.2137, allocations: 1.161 MB / 471.7 MB, free: 30.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.2138, allocations: 132 kB / 471.8 MB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.2139, allocations: 13.47 kB / 471.8 MB, free: 30.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.2142, allocations: 35.94 kB / 471.9 MB, free: 30.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.2143, allocations: 39.45 kB / 471.9 MB, free: 30.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2143, allocations: 22.05 kB / 471.9 MB, free: 30.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005775/0.2149, allocations: 0.9306 MB / 472.9 MB, free: 30.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2149, allocations: 7.375 kB / 472.9 MB, free: 30.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005976/0.2155, allocations: 302.7 kB / 473.2 MB, free: 30.27 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.001131/0.2166, allocations: 1.866 MB / 475 MB, free: 29.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007961/0.2174, allocations: 0.6855 MB / 475.7 MB, free: 28.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2174, allocations: 0 / 475.7 MB, free: 28.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.2178, allocations: 306.3 kB / 476 MB, free: 28.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.2187, allocations: 260.5 kB / 476.3 MB, free: 28.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009773/0.2284, allocations: 11.25 MB / 487.5 MB, free: 23.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.2288, allocations: 0.5573 MB / 488.1 MB, free: 23.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005875/0.2294, allocations: 395.7 kB / 488.5 MB, free: 23.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.2298, allocations: 396 kB / 488.8 MB, free: 23.12 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.2298, allocations: 0 / 488.8 MB, free: 23.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.2648, allocations: 30.27 MB / 0.507 GB, free: 3.328 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.354/7.619, allocations: 4 kB / 0.507 GB, free: 3.324 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_twoPhaseOverall_KC/kc_twoPhaseOverall_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.050158619880676]