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.001399/0.001399, allocations: 100.6 kB / 16.27 MB, free: 5.93 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.001234/0.001234, allocations: 189.5 kB / 17.2 MB, free: 5.574 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.422/1.422, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2123/0.2123, allocations: 43.53 MB / 314 MB, free: 0.5195 MB / 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.001882/0.001882, allocations: 66.08 kB / 382.9 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1241, allocations: 57.78 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003215/0.1273, allocations: 1.882 MB / 442.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1286, allocations: 0.8382 MB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.1287, allocations: 4 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.129, allocations: 43.73 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.1293, allocations: 87.56 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1296, allocations: 75.72 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.1299, allocations: 258.7 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.13, allocations: 36.38 kB / 443.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.1302, allocations: 99.5 kB / 444 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.1304, allocations: 119.4 kB / 444.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.1304, allocations: 11.94 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.1306, allocations: 119.8 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.102e-05/0.1307, allocations: 63.69 kB / 444.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1309, allocations: 99.3 kB / 444.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.1312, allocations: 306.8 kB / 444.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1312, allocations: 0 / 444.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1312, allocations: 0 / 444.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1312, allocations: 0 / 444.7 MB, free: 2.723 MB / 318.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.0007594/0.132, allocations: 0.5537 MB / 445.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1321, allocations: 12.03 kB / 445.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.054e-05/0.1321, allocations: 66.72 kB / 445.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.1322, allocations: 28.66 kB / 445.3 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1324, allocations: 237 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1324, allocations: 24.92 kB / 445.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.1325, allocations: 27.94 kB / 445.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.133, allocations: 369.2 kB / 446 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.133, allocations: 0 / 446 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.133, allocations: 15.98 kB / 446 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.1331, allocations: 24.64 kB / 446 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.1335, allocations: 378.3 kB / 446.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1346, allocations: 0.8384 MB / 447.2 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.1351, allocations: 261.8 kB / 447.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.1353, allocations: 100.8 kB / 447.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.1353, allocations: 0 / 447.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1354, allocations: 38.56 kB / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1354, allocations: 0 / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000805/0.1362, allocations: 337 kB / 447.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.1362, allocations: 51.41 kB / 448 MB, free: 15.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.1366, allocations: 335 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.1366, allocations: 33.7 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1368, allocations: 171.8 kB / 448.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.1368, allocations: 59.19 kB / 448.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.1369, allocations: 53.94 kB / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1371, allocations: 338.8 kB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.1373, allocations: 104.4 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.1376, allocations: 189.3 kB / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.1381, allocations: 302.2 kB / 449.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.1381, allocations: 8 kB / 449.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006459/0.1387, allocations: 348.8 kB / 449.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1388, allocations: 8 kB / 449.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1388, allocations: 0 / 449.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1388, allocations: 8 kB / 449.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/0.1394, allocations: 120.2 kB / 450 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.1415, allocations: 3.657 MB / 453.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1418, allocations: 39.81 kB / 453.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.1418, allocations: 23.98 kB / 453.7 MB, free: 9.203 MB / 334.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.0003196/0.1421, allocations: 187.5 kB / 453.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.1422, allocations: 23.72 kB / 453.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/0.1429, allocations: 319.4 kB / 454.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1429, allocations: 11.98 kB / 454.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1429, allocations: 0 / 454.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1429, allocations: 3.938 kB / 454.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.1433, allocations: 293.5 kB / 454.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1433, allocations: 3.984 kB / 454.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.1437, allocations: 103.9 kB / 454.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1438, allocations: 0 / 454.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.1438, allocations: 11.98 kB / 454.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.1458, allocations: 3.645 MB / 458.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1458, allocations: 4.031 kB / 458.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.1464, allocations: 347.3 kB / 458.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.1465, allocations: 104.7 kB / 458.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.1465, allocations: 11.94 kB / 458.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.1467, allocations: 11.92 kB / 458.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.1468, allocations: 11.98 kB / 458.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1468, allocations: 11.98 kB / 458.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.1471, allocations: 241.9 kB / 459 MB, free: 3.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1471, allocations: 0 / 459 MB, free: 3.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004074/0.1475, allocations: 79.94 kB / 459.1 MB, free: 3.578 MB / 334.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.0009426/0.1484, allocations: 0.9082 MB / 460 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009247/0.1494, allocations: 337.2 kB / 460.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1494, allocations: 4 kB / 460.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005751/0.15, allocations: 197.8 kB / 460.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.1504, allocations: 64.83 kB / 460.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/0.155, allocations: 3.399 MB / 464 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.1554, allocations: 0.7873 MB / 464.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.1557, allocations: 82.89 kB / 464.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.1558, allocations: 75.39 kB / 465 MB, free: 13.54 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1558, allocations: 7.938 kB / 465 MB, free: 13.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.1834, allocations: 8.446 MB / 473.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.04, allocations: 4.391 kB / 473.4 MB, free: 5.125 MB / 350.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