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.001626/0.001626, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002368/0.002368, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 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 1.567/1.567, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.229/0.229, allocations: 46.92 MB / 360.8 MB, free: 4.191 MB / 286.1 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 0.00257/0.00257, allocations: 79.88 kB / 0.4963 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3157, allocations: 66.08 MB / 0.5608 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.004931/0.3207, allocations: 2.908 MB / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004389/0.325, allocations: 2.617 MB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.3253, allocations: 3.938 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.3258, allocations: 125 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007092/0.3266, allocations: 238.6 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.3286, allocations: 0.5695 MB / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.3301, allocations: 0.9402 MB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.3302, allocations: 46.44 kB / 0.5681 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007658/0.331, allocations: 350 kB / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.3315, allocations: 417.7 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.3316, allocations: 27.94 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.3332, allocations: 0.9593 MB / 0.5698 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.3334, allocations: 262.7 kB / 0.57 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.3339, allocations: 464.6 kB / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.3356, allocations: 1.388 MB / 0.5718 GB, free: 8.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3356, allocations: 4 kB / 0.5718 GB, free: 8.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3356, allocations: 3.938 kB / 0.5718 GB, free: 8.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.3357, allocations: 0 / 0.5718 GB, free: 8.918 MB / 414.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.002253/0.3379, allocations: 1.426 MB / 0.5732 GB, free: 7.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3379, allocations: 8.031 kB / 0.5732 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.3381, allocations: 169 kB / 0.5734 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007236/0.3389, allocations: 192 kB / 0.5736 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008222/0.3397, allocations: 489.5 kB / 0.574 GB, free: 6.578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.3397, allocations: 73.94 kB / 0.5741 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.3398, allocations: 88 kB / 0.5742 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.3419, allocations: 1.423 MB / 0.5756 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.3419, allocations: 0 / 0.5756 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.342, allocations: 40 kB / 0.5756 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.413e-05/0.3421, allocations: 74.02 kB / 0.5757 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.3443, allocations: 1.374 MB / 0.577 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004533/0.3488, allocations: 3.024 MB / 0.58 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.3501, allocations: 0.7004 MB / 0.5807 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.3507, allocations: 281.4 kB / 0.5809 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-05/0.3508, allocations: 20.14 kB / 0.5809 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3508, allocations: 46.73 kB / 0.581 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.3508, allocations: 0 / 0.581 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.002252/0.3531, allocations: 0.9396 MB / 0.5819 GB, free: 14.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/0.3532, allocations: 183.9 kB / 0.5821 GB, free: 14.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.3547, allocations: 1.362 MB / 0.5834 GB, free: 12.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.3548, allocations: 29.7 kB / 0.5834 GB, free: 12.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/0.3552, allocations: 0.552 MB / 0.584 GB, free: 12.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3554, allocations: 123 kB / 0.5841 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.3556, allocations: 154.2 kB / 0.5842 GB, free: 11.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3557, allocations: 334 kB / 0.5846 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006844/0.3564, allocations: 309 kB / 0.5849 GB, free: 11.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009218/0.3573, allocations: 0.6129 MB / 0.5855 GB, free: 10.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.359, allocations: 0.9761 MB / 0.5864 GB, free: 9.277 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.359, allocations: 7.938 kB / 0.5864 GB, free: 9.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002202/0.3612, allocations: 1.036 MB / 0.5874 GB, free: 8.227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.3613, allocations: 12 kB / 0.5874 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.3613, allocations: 11.98 kB / 0.5875 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.909e-05/0.3613, allocations: 16 kB / 0.5875 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.3619, allocations: 155.7 kB / 0.5876 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/0.362, allocations: 23.92 kB / 0.5876 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/0.3628, allocations: 182.7 kB / 0.5878 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.3629, allocations: 44 kB / 0.5879 GB, free: 7.789 MB / 430.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.0006322/0.3635, allocations: 367.3 kB / 0.5882 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.3638, allocations: 127.1 kB / 0.5883 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.3652, allocations: 0.7549 MB / 0.5891 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.3652, allocations: 7.984 kB / 0.5891 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.3652, allocations: 4 kB / 0.5891 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3652, allocations: 0 / 0.5891 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.3665, allocations: 0.6898 MB / 0.5897 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3665, allocations: 3.938 kB / 0.5898 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.3669, allocations: 107.8 kB / 0.5899 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.367, allocations: 8 kB / 0.5899 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.367, allocations: 16 kB / 0.5899 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.367, allocations: 4 kB / 0.5899 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.367, allocations: 0 / 0.5899 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.3687, allocations: 1.169 MB / 0.591 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.3689, allocations: 131 kB / 0.5911 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.3691, allocations: 11.98 kB / 0.5912 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.3696, allocations: 27.97 kB / 0.5912 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3698, allocations: 47.88 kB / 0.5912 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.3698, allocations: 20 kB / 0.5913 GB, free: 4.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001208/0.371, allocations: 0.9352 MB / 0.5922 GB, free: 3.277 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.371, allocations: 0 / 0.5922 GB, free: 3.277 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00107/0.3721, allocations: 307.4 kB / 0.5925 GB, free: 2.977 MB / 430.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.002367/0.3744, allocations: 1.86 MB / 0.5943 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.376, allocations: 0.6889 MB / 0.5949 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.376, allocations: 0.5625 kB / 0.5949 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006703/0.3767, allocations: 303.5 kB / 0.5952 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.3781, allocations: 256.9 kB / 0.5955 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.3935, allocations: 11.21 MB / 0.6064 GB, free: 4.121 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008283/0.3943, allocations: 1.161 MB / 0.6076 GB, free: 2.934 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000862/0.3952, allocations: 394.6 kB / 0.6079 GB, free: 2.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/0.3957, allocations: 399.3 kB / 0.6083 GB, free: 2.156 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3957, allocations: 0 / 0.6083 GB, free: 2.156 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06924/0.465, allocations: 28.5 MB / 0.6362 GB, free: 5.938 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.7, allocations: 0 / 0.6362 GB, free: 5.938 MB / 478.1 MB " [Timeout remaining time 646] (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/jenkins1/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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.50302807497792]