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_turbulent_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.001811/0.001811, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002109/0.002109, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.453/1.453, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2505/0.2505, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 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_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 71.91 kB / 0.491 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1285, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003325/0.1319, allocations: 1.899 MB / 0.5573 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1334, allocations: 0.8451 MB / 0.5581 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.1334, allocations: 0 / 0.5581 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1337, allocations: 55.67 kB / 0.5581 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.134, allocations: 91.55 kB / 0.5582 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1343, allocations: 79.7 kB / 0.5583 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.1347, allocations: 262.7 kB / 0.5585 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.046e-05/0.1347, allocations: 28.41 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.1349, allocations: 107.4 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1351, allocations: 127.4 kB / 0.5588 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.1351, allocations: 4 kB / 0.5588 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.1354, allocations: 123.8 kB / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.44e-05/0.1355, allocations: 55.75 kB / 0.559 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1356, allocations: 111.2 kB / 0.5591 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.136, allocations: 314.6 kB / 0.5594 GB, free: 1.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.136, allocations: 3.938 kB / 0.5594 GB, free: 1.723 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.136, allocations: 3.938 kB / 0.5594 GB, free: 1.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.136, allocations: 0 / 0.5594 GB, free: 1.719 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009505/0.137, allocations: 0.5533 MB / 0.5599 GB, free: 1.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.137, allocations: 8.031 kB / 0.5599 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.361e-05/0.1371, allocations: 66.72 kB / 0.56 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.1372, allocations: 28.75 kB / 0.56 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.1375, allocations: 253.3 kB / 0.5603 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1375, allocations: 16.94 kB / 0.5603 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.1375, allocations: 27.94 kB / 0.5603 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006538/0.1382, allocations: 377.2 kB / 0.5607 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1382, allocations: 0 / 0.5607 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.1382, allocations: 8 kB / 0.5607 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/0.1383, allocations: 24.64 kB / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.1389, allocations: 374.4 kB / 0.5611 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.1404, allocations: 0.8428 MB / 0.5619 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.1409, allocations: 250.3 kB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.1411, allocations: 96.77 kB / 0.5622 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.1411, allocations: 7.984 kB / 0.5622 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1412, allocations: 38.56 kB / 0.5623 GB, free: 14.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.1412, allocations: 0 / 0.5623 GB, free: 14.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008202/0.142, allocations: 331.6 kB / 0.5626 GB, free: 14.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.142, allocations: 59.33 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.1424, allocations: 334.9 kB / 0.5629 GB, free: 13.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1424, allocations: 37.7 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1426, allocations: 164.2 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.1426, allocations: 59.48 kB / 0.5632 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1427, allocations: 61.92 kB / 0.5633 GB, free: 13.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1429, allocations: 334.8 kB / 0.5636 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.1431, allocations: 104.3 kB / 0.5637 GB, free: 13.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.1434, allocations: 190.3 kB / 0.5639 GB, free: 12.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.144, allocations: 301.2 kB / 0.5641 GB, free: 12.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.144, allocations: 4 kB / 0.5641 GB, free: 12.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006587/0.1446, allocations: 352.9 kB / 0.5645 GB, free: 12.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1446, allocations: 8 kB / 0.5645 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.1447, allocations: 4 kB / 0.5645 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1447, allocations: 4 kB / 0.5645 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.1453, allocations: 119.9 kB / 0.5646 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.1476, allocations: 3.661 MB / 0.5682 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.1478, allocations: 39.72 kB / 0.5682 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.1478, allocations: 16 kB / 0.5682 GB, free: 8.191 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002758/0.1481, allocations: 184 kB / 0.5684 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.1482, allocations: 27.81 kB / 0.5684 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007279/0.1489, allocations: 331.4 kB / 0.5688 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1489, allocations: 4 kB / 0.5688 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1489, allocations: 0 / 0.5688 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1489, allocations: 3.938 kB / 0.5688 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.1493, allocations: 305.4 kB / 0.5691 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1493, allocations: 0 / 0.5691 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.1498, allocations: 103.9 kB / 0.5692 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1498, allocations: 3.938 kB / 0.5692 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.1498, allocations: 8 kB / 0.5692 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.1521, allocations: 3.653 MB / 0.5727 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1521, allocations: 0 / 0.5727 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/0.1526, allocations: 345 kB / 0.5731 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/0.1527, allocations: 105.1 kB / 0.5732 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.1528, allocations: 15.94 kB / 0.5732 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.153, allocations: 4 kB / 0.5732 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.153, allocations: 19.91 kB / 0.5732 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.153, allocations: 11.94 kB / 0.5732 GB, free: 2.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002709/0.1533, allocations: 245.9 kB / 0.5734 GB, free: 2.621 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1533, allocations: 0 / 0.5734 GB, free: 2.621 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004041/0.1537, allocations: 75.94 kB / 0.5735 GB, free: 2.547 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001076/0.1548, allocations: 0.9112 MB / 0.5744 GB, free: 1.609 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009847/0.1558, allocations: 317.9 kB / 0.5747 GB, free: 1.301 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1558, allocations: 4 kB / 0.5747 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.1564, allocations: 180.5 kB / 0.5749 GB, free: 1.121 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.1569, allocations: 68.78 kB / 0.575 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.1617, allocations: 3.394 MB / 0.5783 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.1622, allocations: 0.7795 MB / 0.579 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.1624, allocations: 82.89 kB / 0.5791 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.1625, allocations: 77.94 kB / 0.5792 GB, free: 12.55 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1625, allocations: 0 / 0.5792 GB, free: 12.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.1959, allocations: 8.696 MB / 0.5877 GB, free: 4.125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.54, allocations: 11 kB / 0.5877 GB, free: 4.121 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_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_turbulent_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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: 16.195579695980996]