Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_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_0_0_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.001177/0.001177, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001257/0.001257, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2898/0.2898, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 66.45 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1031, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003569/0.1067, allocations: 1.871 MB / 471.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1083, allocations: 0.8022 MB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1084, allocations: 4 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1087, allocations: 51.72 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.109, allocations: 83.56 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.1094, allocations: 75.72 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.1097, allocations: 262.7 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.8e-05/0.1098, allocations: 32.39 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.11, allocations: 99.5 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.1103, allocations: 119.4 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.1103, allocations: 8 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.1106, allocations: 119.8 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.1107, allocations: 67.69 kB / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.1109, allocations: 107.3 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.1114, allocations: 287.1 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.1114, allocations: 4 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1114, allocations: 0 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.1115, allocations: 3.938 kB / 473.3 MB, free: 10.26 MB / 350.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.001099/0.1126, allocations: 0.5575 MB / 473.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1126, allocations: 12.03 kB / 473.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.341e-05/0.1127, allocations: 62.73 kB / 474 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.1128, allocations: 36.55 kB / 474 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.1132, allocations: 235.9 kB / 474.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.1133, allocations: 20.94 kB / 474.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.1133, allocations: 27.94 kB / 474.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.1141, allocations: 369.2 kB / 474.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1141, allocations: 0 / 474.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.1141, allocations: 12 kB / 474.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.262e-05/0.1142, allocations: 28.64 kB / 474.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006852/0.1149, allocations: 374.3 kB / 475.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.1166, allocations: 0.8423 MB / 475.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.1171, allocations: 254.3 kB / 476.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.1173, allocations: 100.8 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.1174, allocations: 7.969 kB / 476.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.1174, allocations: 38.56 kB / 476.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.003e-06/0.1174, allocations: 0 / 476.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009563/0.1184, allocations: 337.2 kB / 476.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.1185, allocations: 55.41 kB / 476.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.1189, allocations: 338.8 kB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1189, allocations: 29.7 kB / 477 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1191, allocations: 160 kB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.1191, allocations: 59.19 kB / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.1193, allocations: 65.88 kB / 477.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1195, allocations: 338.8 kB / 477.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.1197, allocations: 100.3 kB / 477.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.12, allocations: 185.9 kB / 477.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.1205, allocations: 312.4 kB / 478.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1205, allocations: 0 / 478.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007187/0.1212, allocations: 352.4 kB / 478.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1213, allocations: 8 kB / 478.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1213, allocations: 4 kB / 478.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1213, allocations: 8.375 kB / 478.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.1219, allocations: 119.9 kB / 478.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.1242, allocations: 3.645 MB / 482.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.1244, allocations: 43.52 kB / 482.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.1245, allocations: 16 kB / 482.4 MB, free: 0.7422 MB / 350.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.000282/0.1248, allocations: 175.3 kB / 482.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.1248, allocations: 27.62 kB / 482.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.1255, allocations: 327.5 kB / 482.9 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1255, allocations: 4 kB / 482.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1256, allocations: 0 / 482.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1256, allocations: 3.984 kB / 482.9 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.126, allocations: 301.3 kB / 483.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.126, allocations: 0 / 483.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.1264, allocations: 103.9 kB / 483.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.1265, allocations: 0 / 483.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.1265, allocations: 8 kB / 483.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.1285, allocations: 3.66 MB / 487 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1285, allocations: 0 / 487 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.129, allocations: 347.3 kB / 487.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.1292, allocations: 104.8 kB / 487.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.1292, allocations: 11.94 kB / 487.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.1294, allocations: 7.984 kB / 487.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.1295, allocations: 15.98 kB / 487.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1295, allocations: 4 kB / 487.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.1298, allocations: 253.8 kB / 487.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1298, allocations: 0 / 487.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004421/0.1302, allocations: 79.94 kB / 487.8 MB, free: 11.1 MB / 366.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.001066/0.1313, allocations: 0.9032 MB / 488.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009548/0.1323, allocations: 355.4 kB / 489.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1323, allocations: 0 / 489.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.1328, allocations: 187.8 kB / 489.2 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.1333, allocations: 72.77 kB / 489.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.1377, allocations: 3.391 MB / 492.7 MB, free: 6.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1381, allocations: 0.7834 MB / 493.5 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000249/0.1383, allocations: 90.88 kB / 493.6 MB, free: 5.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.1385, allocations: 71.41 kB / 493.6 MB, free: 5.062 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1385, allocations: 0 / 493.6 MB, free: 5.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.1645, allocations: 8.435 MB / 0.4903 GB, free: 12.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.51, allocations: 11.58 kB / 0.4903 GB, free: 12.88 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches