Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008263/0.0008263, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001036/0.001036, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8072/0.8072, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.122/0.122, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.532e-06/1.532e-06, allocations: 0 / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.019e-05, allocations: 9.875 kB / 406.9 MB, free: 2.145 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.002795/0.002815, allocations: 2.673 MB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.005231, allocations: 2.255 MB / 411.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.005369, allocations: 4 kB / 411.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.00568, allocations: 119.1 kB / 412 MB, free: 13.06 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.005983, allocations: 238.4 kB / 412.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009404/0.006923, allocations: 0.5329 MB / 412.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006358/0.007559, allocations: 0.9825 MB / 413.7 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.007644, allocations: 54.38 kB / 413.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.008019, allocations: 442.2 kB / 414.2 MB, free: 10.8 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.008307, allocations: 338.7 kB / 414.5 MB, free: 10.47 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.008349, allocations: 24 kB / 414.6 MB, free: 10.45 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005972/0.008947, allocations: 423.1 kB / 415 MB, free: 10.04 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.009157, allocations: 286.6 kB / 415.3 MB, free: 9.754 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.009359, allocations: 282.8 kB / 415.5 MB, free: 9.477 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.01031, allocations: 1.194 MB / 416.7 MB, free: 8.277 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01031, allocations: 0 / 416.7 MB, free: 8.277 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.01031, allocations: 0 / 416.7 MB, free: 8.277 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.01032, allocations: 3.984 kB / 416.7 MB, free: 8.273 MB / 394.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.001428/0.01175, allocations: 1.403 MB / 418.1 MB, free: 6.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.0118, allocations: 8.031 kB / 418.1 MB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.01193, allocations: 169 kB / 418.3 MB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.01206, allocations: 132 kB / 418.4 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.01264, allocations: 468.8 kB / 418.9 MB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.01267, allocations: 74.38 kB / 419 MB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.01274, allocations: 92.36 kB / 419.1 MB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.01406, allocations: 1.423 MB / 420.5 MB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.01407, allocations: 7.875 kB / 420.5 MB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.01411, allocations: 39.98 kB / 420.5 MB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/0.01417, allocations: 70.08 kB / 420.6 MB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.0155, allocations: 1.374 MB / 422 MB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.01816, allocations: 2.899 MB / 424.9 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008296/0.01899, allocations: 0.7081 MB / 425.6 MB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.01935, allocations: 281.3 kB / 425.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.01939, allocations: 8.234 kB / 425.9 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.01942, allocations: 50.72 kB / 425.9 MB, free: 14.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.01942, allocations: 0 / 425.9 MB, free: 14.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001405/0.02083, allocations: 0.9312 MB / 426.8 MB, free: 13.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.0209, allocations: 199.8 kB / 427 MB, free: 13.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.02193, allocations: 1.369 MB / 428.4 MB, free: 12.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.02196, allocations: 33.7 kB / 428.4 MB, free: 12.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.02224, allocations: 0.5443 MB / 429 MB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.02231, allocations: 127 kB / 429.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.02244, allocations: 154.2 kB / 429.3 MB, free: 11.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.02253, allocations: 334 kB / 429.6 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.02294, allocations: 304.9 kB / 429.9 MB, free: 10.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005521/0.02349, allocations: 0.6133 MB / 430.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.0245, allocations: 0.9682 MB / 431.5 MB, free: 8.855 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.02451, allocations: 8 kB / 431.5 MB, free: 8.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001231/0.02574, allocations: 1.04 MB / 432.5 MB, free: 7.801 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.02576, allocations: 8 kB / 432.5 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.02577, allocations: 19.97 kB / 432.5 MB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.02579, allocations: 16 kB / 432.5 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.02608, allocations: 163.6 kB / 432.7 MB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.02609, allocations: 19.94 kB / 432.7 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.02644, allocations: 170.7 kB / 432.9 MB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.02649, allocations: 51.98 kB / 432.9 MB, free: 7.359 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.0003461/0.02683, allocations: 363.3 kB / 433.3 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.02696, allocations: 123.2 kB / 433.4 MB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000835/0.02779, allocations: 0.7664 MB / 434.2 MB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.0278, allocations: 4 kB / 434.2 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.0278, allocations: 0 / 434.2 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.0278, allocations: 7.984 kB / 434.2 MB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006842/0.02849, allocations: 0.6236 MB / 434.8 MB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02849, allocations: 3.938 kB / 434.8 MB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.02869, allocations: 99.94 kB / 434.9 MB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.0287, allocations: 8 kB / 434.9 MB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.02872, allocations: 23.92 kB / 435 MB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.02872, allocations: 3.938 kB / 435 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02873, allocations: 4 kB / 435 MB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.02964, allocations: 1.154 MB / 436.1 MB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.02976, allocations: 135 kB / 436.2 MB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.02983, allocations: 11.94 kB / 436.3 MB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.03012, allocations: 35.95 kB / 436.3 MB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.0302, allocations: 39.94 kB / 436.3 MB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.03022, allocations: 20 kB / 436.4 MB, free: 3.855 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006974/0.03092, allocations: 0.9311 MB / 437.3 MB, free: 2.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03092, allocations: 4 kB / 437.3 MB, free: 2.918 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006401/0.03156, allocations: 299.5 kB / 437.6 MB, free: 2.625 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.001386/0.03294, allocations: 1.851 MB / 439.4 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008513/0.0338, allocations: 0.6858 MB / 440.1 MB, free: 60 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.0338, allocations: 0 / 440.1 MB, free: 60 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.03418, allocations: 304.2 kB / 440.4 MB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/0.03501, allocations: 264.8 kB / 440.7 MB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009303/0.04431, allocations: 11.22 MB / 451.9 MB, free: 3.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.04464, allocations: 0.5685 MB / 452.5 MB, free: 3.176 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004752/0.04512, allocations: 386.7 kB / 452.8 MB, free: 2.793 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.04544, allocations: 404.3 kB / 453.2 MB, free: 2.395 MB / 426.7 MB Notification: Performance of SimCode: time 6.32e-07/0.04544, allocations: 0 / 453.2 MB, free: 2.395 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/0.2032, allocations: 30.04 MB / 483.3 MB, free: 100.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.299, allocations: 7.266 kB / 483.3 MB, free: 100.1 MB / 442.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_twoPhaseOverall_KC/kc_twoPhaseOverall_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.575897986069322]