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.001628/0.001628, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001547/0.001547, allocations: 212.9 kB / 23.74 MB, free: 4.656 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.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2235/0.2235, allocations: 46.93 MB / 360.9 MB, free: 4.262 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.001926/0.001926, allocations: 75.88 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3291, allocations: 66.04 MB / 0.5607 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003348/0.3325, allocations: 1.908 MB / 0.5625 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.334, allocations: 0.8617 MB / 0.5634 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.334, allocations: 0 / 0.5634 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.3343, allocations: 59.66 kB / 0.5634 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.3347, allocations: 87.56 kB / 0.5635 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.3349, allocations: 83.72 kB / 0.5636 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.3353, allocations: 258.7 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.3353, allocations: 10.42 kB / 0.5639 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.3356, allocations: 115.4 kB / 0.564 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.3358, allocations: 119.4 kB / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.3358, allocations: 8 kB / 0.5641 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.3361, allocations: 123.8 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.621e-05/0.3362, allocations: 59.75 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.3363, allocations: 111.2 kB / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.3368, allocations: 310.6 kB / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3368, allocations: 0 / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3368, allocations: 0 / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3368, allocations: 0 / 0.5647 GB, free: 388 kB / 398.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.000952/0.3377, allocations: 485.4 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3378, allocations: 12.03 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.61e-05/0.3379, allocations: 70.66 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.3379, allocations: 28.75 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.3382, allocations: 190.1 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.3382, allocations: 16.88 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.3383, allocations: 23.94 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006299/0.3389, allocations: 380.8 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3389, allocations: 3.984 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.339, allocations: 8 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/0.339, allocations: 24.64 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000625/0.3396, allocations: 374.3 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.341, allocations: 0.8041 MB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.3415, allocations: 258.2 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.3417, allocations: 96.77 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.3417, allocations: 11.94 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.3418, allocations: 34.56 kB / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.3418, allocations: 0 / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007584/0.3425, allocations: 340.1 kB / 0.5677 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3426, allocations: 55.41 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.343, allocations: 340.1 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.343, allocations: 29.7 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.3431, allocations: 168.2 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.3432, allocations: 67.45 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.3433, allocations: 53.94 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3435, allocations: 338.8 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.3437, allocations: 100.3 kB / 0.5688 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.344, allocations: 188 kB / 0.569 GB, free: 11.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/0.3445, allocations: 310.8 kB / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3445, allocations: 0 / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000638/0.3451, allocations: 356.9 kB / 0.5696 GB, free: 11.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3452, allocations: 4 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3452, allocations: 7.984 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3452, allocations: 4 kB / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.3458, allocations: 119.9 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.3481, allocations: 3.653 MB / 0.5733 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.3483, allocations: 47.66 kB / 0.5734 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.3484, allocations: 12 kB / 0.5734 GB, free: 7.043 MB / 414.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.0002756/0.3486, allocations: 179.5 kB / 0.5735 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.3487, allocations: 27.84 kB / 0.5736 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006826/0.3494, allocations: 330.6 kB / 0.5739 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3494, allocations: 4 kB / 0.5739 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.3494, allocations: 0 / 0.5739 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.3494, allocations: 3.984 kB / 0.5739 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.3497, allocations: 268.5 kB / 0.5742 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3497, allocations: 0 / 0.5742 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.3502, allocations: 107.9 kB / 0.5743 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3502, allocations: 0 / 0.5743 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3502, allocations: 8 kB / 0.5743 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.3525, allocations: 3.653 MB / 0.5778 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3525, allocations: 0 / 0.5778 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.3531, allocations: 351.1 kB / 0.5782 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.3531, allocations: 35.97 kB / 0.5782 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.3532, allocations: 7.938 kB / 0.5782 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3533, allocations: 7.984 kB / 0.5782 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.3534, allocations: 15.98 kB / 0.5782 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.3534, allocations: 7.984 kB / 0.5782 GB, free: 1.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.3537, allocations: 243 kB / 0.5785 GB, free: 1.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3537, allocations: 0 / 0.5785 GB, free: 1.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.3541, allocations: 83.88 kB / 0.5785 GB, free: 1.535 MB / 414.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.001032/0.3551, allocations: 0.9073 MB / 0.5794 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008849/0.356, allocations: 322.9 kB / 0.5797 GB, free: 296 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.356, allocations: 0 / 0.5797 GB, free: 296 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.3565, allocations: 184.5 kB / 0.5799 GB, free: 112 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.357, allocations: 75.52 kB / 0.58 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.3615, allocations: 3.378 MB / 0.5833 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.362, allocations: 0.7873 MB / 0.5841 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.3622, allocations: 82.89 kB / 0.5841 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.3623, allocations: 71.41 kB / 0.5842 GB, free: 11.54 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3623, allocations: 0 / 0.5842 GB, free: 11.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.3999, allocations: 8.868 MB / 0.5929 GB, free: 2.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.8, allocations: 2.125 kB / 0.5929 GB, free: 2.887 MB / 430.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: 15.79694331297651]