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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008914/0.0008914, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9102/0.9102, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2503/0.2503, allocations: 34.24 MB / 294.8 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 442.2 MB, free: 1.512 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.355e-05, allocations: 6.219 kB / 442.2 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.1804/0.1805, allocations: 2.689 MB / 444.9 MB, free: 43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1824, allocations: 2.312 MB / 447.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.1826, allocations: 6.75 kB / 447.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.1828, allocations: 121 kB / 447.4 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1831, allocations: 247 kB / 447.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006972/0.1838, allocations: 0.5556 MB / 448.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004275/0.1842, allocations: 0.9874 MB / 449.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.114e-05/0.1843, allocations: 41.83 kB / 449.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.1846, allocations: 449.6 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1848, allocations: 342.8 kB / 450 MB, free: 40.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.1848, allocations: 28.69 kB / 450 MB, free: 40.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004382/0.1853, allocations: 448.7 kB / 450.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1854, allocations: 282.9 kB / 450.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.1855, allocations: 275.4 kB / 451 MB, free: 40.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.1862, allocations: 1.22 MB / 452.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1862, allocations: 0 / 452.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1862, allocations: 0 / 452.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1862, allocations: 0 / 452.2 MB, free: 39.86 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.0009965/0.1872, allocations: 1.417 MB / 453.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1872, allocations: 8.844 kB / 453.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.524e-05/0.1873, allocations: 166.8 kB / 453.8 MB, free: 38.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.1876, allocations: 201.1 kB / 454 MB, free: 38.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.188, allocations: 479.5 kB / 454.4 MB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.1881, allocations: 77.5 kB / 454.5 MB, free: 38.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.1881, allocations: 88.81 kB / 454.6 MB, free: 38.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.1891, allocations: 1.426 MB / 456 MB, free: 37.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1892, allocations: 0 / 456 MB, free: 37.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.1892, allocations: 36.47 kB / 456.1 MB, free: 37.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.1892, allocations: 73.92 kB / 456.1 MB, free: 37.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.1904, allocations: 1.371 MB / 457.5 MB, free: 37.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.1925, allocations: 2.899 MB / 460.4 MB, free: 35.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.1933, allocations: 0.7016 MB / 461.1 MB, free: 35.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.1936, allocations: 276.3 kB / 461.4 MB, free: 35.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.1936, allocations: 17.47 kB / 461.4 MB, free: 35.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.1936, allocations: 42.7 kB / 461.4 MB, free: 35.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.412e-06/0.1936, allocations: 0 / 461.4 MB, free: 35.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001182/0.1948, allocations: 0.9415 MB / 462.4 MB, free: 35.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.1949, allocations: 190.2 kB / 462.6 MB, free: 35.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00083/0.1957, allocations: 1.376 MB / 463.9 MB, free: 34.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1957, allocations: 29.7 kB / 464 MB, free: 34.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.1959, allocations: 0.5508 MB / 464.5 MB, free: 34.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.1959, allocations: 116.8 kB / 464.6 MB, free: 34.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.1961, allocations: 156.8 kB / 464.8 MB, free: 33.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.429e-05/0.1961, allocations: 331 kB / 465.1 MB, free: 33.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.1965, allocations: 312.3 kB / 465.4 MB, free: 33.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.1969, allocations: 0.6105 MB / 466 MB, free: 33.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/0.1977, allocations: 0.9753 MB / 467 MB, free: 32.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.1977, allocations: 3.344 kB / 467 MB, free: 32.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001042/0.1988, allocations: 1.042 MB / 468 MB, free: 32.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1988, allocations: 9.031 kB / 468.1 MB, free: 32.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1988, allocations: 16.25 kB / 468.1 MB, free: 32.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1988, allocations: 18.91 kB / 468.1 MB, free: 32.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.1991, allocations: 161.4 kB / 468.2 MB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.1991, allocations: 23.08 kB / 468.3 MB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.1994, allocations: 179.5 kB / 468.4 MB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.1995, allocations: 44.47 kB / 468.5 MB, free: 32.14 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.0002441/0.1997, allocations: 367 kB / 468.8 MB, free: 31.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1998, allocations: 124.9 kB / 469 MB, free: 31.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007411/0.2006, allocations: 0.7612 MB / 469.7 MB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2006, allocations: 9.594 kB / 469.7 MB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2006, allocations: 0 / 469.7 MB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2006, allocations: 6.516 kB / 469.7 MB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.2012, allocations: 0.6249 MB / 470.4 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2012, allocations: 7.375 kB / 470.4 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.2014, allocations: 101.2 kB / 470.5 MB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.2014, allocations: 3 kB / 470.5 MB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.2014, allocations: 19.41 kB / 470.5 MB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2014, allocations: 10.81 kB / 470.5 MB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2014, allocations: 3.031 kB / 470.5 MB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.2023, allocations: 1.164 MB / 471.7 MB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2024, allocations: 124.4 kB / 471.8 MB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.2025, allocations: 10.09 kB / 471.8 MB, free: 30.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.2028, allocations: 40.47 kB / 471.8 MB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.2029, allocations: 39.25 kB / 471.9 MB, free: 30.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.2029, allocations: 22.02 kB / 471.9 MB, free: 30.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006288/0.2035, allocations: 0.9326 MB / 472.8 MB, free: 30.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2035, allocations: 0 / 472.8 MB, free: 30.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006229/0.2041, allocations: 303.8 kB / 473.1 MB, free: 30.22 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.001231/0.2054, allocations: 1.871 MB / 475 MB, free: 28.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008223/0.2062, allocations: 0.6968 MB / 475.7 MB, free: 28.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2062, allocations: 0 / 475.7 MB, free: 28.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.2066, allocations: 294.8 kB / 476 MB, free: 28.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008765/0.2074, allocations: 266.8 kB / 476.3 MB, free: 28.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009611/0.217, allocations: 11.25 MB / 487.5 MB, free: 23.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.2174, allocations: 0.5596 MB / 488.1 MB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005666/0.218, allocations: 391.9 kB / 488.4 MB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.2183, allocations: 397.1 kB / 488.8 MB, free: 23.09 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2183, allocations: 0 / 488.8 MB, free: 23.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.2551, allocations: 30.25 MB / 0.5069 GB, free: 3.223 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.635, allocations: 7.891 kB / 0.5069 GB, free: 3.215 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.094066832214594]