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_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 105.1 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 185.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2127/0.2127, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 67.89 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1144, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003571/0.118, allocations: 1.869 MB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1195, allocations: 0.842 MB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.1195, allocations: 4 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.1198, allocations: 55.66 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.1201, allocations: 91.5 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1204, allocations: 75.78 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.1207, allocations: 266.7 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.382e-05/0.1208, allocations: 36.38 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.1209, allocations: 99.48 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1211, allocations: 119.4 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1211, allocations: 8 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.1214, allocations: 119.8 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.009e-05/0.1215, allocations: 59.73 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.1216, allocations: 107.2 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.122, allocations: 298.6 kB / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.122, allocations: 4 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.122, allocations: 0 / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1221, allocations: 0 / 0.4914 GB, free: 8.195 MB / 382.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.0008328/0.1229, allocations: 0.5572 MB / 0.4919 GB, free: 7.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1229, allocations: 12.03 kB / 0.4919 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.778e-05/0.123, allocations: 66.72 kB / 0.492 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.1231, allocations: 28.75 kB / 0.492 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1234, allocations: 243.9 kB / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1234, allocations: 12.94 kB / 0.4923 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.1234, allocations: 31.94 kB / 0.4923 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.1241, allocations: 377.2 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1241, allocations: 0 / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.1241, allocations: 8 kB / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.1241, allocations: 24.64 kB / 0.4927 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/0.1248, allocations: 378.2 kB / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.1261, allocations: 0.8389 MB / 0.4939 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.1266, allocations: 254.3 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.1268, allocations: 100.8 kB / 0.4942 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.1269, allocations: 7.984 kB / 0.4942 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1269, allocations: 42.5 kB / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.1269, allocations: 3.938 kB / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007761/0.1277, allocations: 333.2 kB / 0.4946 GB, free: 4.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.1277, allocations: 55.41 kB / 0.4946 GB, free: 4.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.1281, allocations: 342.8 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.1281, allocations: 25.7 kB / 0.495 GB, free: 4.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1283, allocations: 172.2 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.1284, allocations: 59.53 kB / 0.4952 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.1285, allocations: 61.89 kB / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1286, allocations: 338.8 kB / 0.4956 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.1289, allocations: 100.4 kB / 0.4957 GB, free: 3.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.1292, allocations: 191.9 kB / 0.4958 GB, free: 3.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.1297, allocations: 310.6 kB / 0.4961 GB, free: 2.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1297, allocations: 0 / 0.4961 GB, free: 2.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006418/0.1303, allocations: 345.3 kB / 0.4965 GB, free: 2.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1304, allocations: 4 kB / 0.4965 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.1304, allocations: 4 kB / 0.4965 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1304, allocations: 4 kB / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.131, allocations: 123.9 kB / 0.4966 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.1332, allocations: 3.653 MB / 0.5002 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.1335, allocations: 47.69 kB / 0.5002 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.1335, allocations: 23.98 kB / 0.5002 GB, free: 14.65 MB / 398.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.0002683/0.1338, allocations: 181.4 kB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.1339, allocations: 27.8 kB / 0.5004 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006909/0.1346, allocations: 327.7 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1346, allocations: 0 / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1346, allocations: 0 / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.1346, allocations: 3.984 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.135, allocations: 297.4 kB / 0.501 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.135, allocations: 0 / 0.501 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.1354, allocations: 119.9 kB / 0.5012 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1355, allocations: 0 / 0.5012 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.1355, allocations: 7.984 kB / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.1378, allocations: 3.649 MB / 0.5047 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1378, allocations: 0 / 0.5047 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.1383, allocations: 346.9 kB / 0.5051 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.1384, allocations: 108.9 kB / 0.5052 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.1385, allocations: 11.88 kB / 0.5052 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1387, allocations: 20.08 kB / 0.5052 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.1387, allocations: 11.98 kB / 0.5052 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1388, allocations: 8 kB / 0.5052 GB, free: 9.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002519/0.139, allocations: 241.9 kB / 0.5054 GB, free: 9.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.139, allocations: 0 / 0.5054 GB, free: 9.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.1395, allocations: 79.88 kB / 0.5055 GB, free: 9.016 MB / 398.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.001002/0.1405, allocations: 0.9034 MB / 0.5064 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009118/0.1414, allocations: 331.5 kB / 0.5067 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1414, allocations: 0 / 0.5067 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.142, allocations: 188.5 kB / 0.5069 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1424, allocations: 72.78 kB / 0.507 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.1467, allocations: 3.373 MB / 0.5103 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1472, allocations: 0.795 MB / 0.511 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.1474, allocations: 82.88 kB / 0.5111 GB, free: 3.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.1475, allocations: 71.41 kB / 0.5112 GB, free: 3.004 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1475, allocations: 8 kB / 0.5112 GB, free: 2.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.18, allocations: 8.588 MB / 0.5196 GB, free: 10.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12, allocations: 4.391 kB / 0.5196 GB, free: 10.4 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches