Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.001557/0.001557, allocations: 104.1 kB / 16.27 MB, free: 5.98 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.001715/0.001715, allocations: 184.5 kB / 17.19 MB, free: 5.617 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.367/1.367, 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.1996/0.1996, allocations: 43.52 MB / 313.9 MB, free: 0.5469 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.002378/0.002378, allocations: 63.38 kB / 382.9 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1197, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003562/0.1233, allocations: 1.773 MB / 442.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1248, allocations: 0.8343 MB / 443.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.1249, allocations: 0 / 443.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1252, allocations: 43.73 kB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.1255, allocations: 67.66 kB / 443.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.1258, allocations: 87.69 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.126, allocations: 151.3 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.126, allocations: 17.06 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1261, allocations: 67.64 kB / 443.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1263, allocations: 71.73 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1263, allocations: 11.88 kB / 443.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.1266, allocations: 151.8 kB / 443.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.1267, allocations: 35.89 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.1268, allocations: 55.61 kB / 444 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.1271, allocations: 199.3 kB / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1271, allocations: 0 / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1271, allocations: 0 / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.1271, allocations: 8 kB / 444.2 MB, free: 3.234 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007236/0.1279, allocations: 439 kB / 444.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1279, allocations: 8.031 kB / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.185e-05/0.128, allocations: 46.75 kB / 444.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.128, allocations: 12.75 kB / 444.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1283, allocations: 212.8 kB / 444.9 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1283, allocations: 8.312 kB / 444.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1283, allocations: 15.94 kB / 444.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.1287, allocations: 173.5 kB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1287, allocations: 0 / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1288, allocations: 0 / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.1288, allocations: 15.98 kB / 445.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.1292, allocations: 163.8 kB / 445.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007708/0.13, allocations: 496 kB / 445.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.1305, allocations: 150.5 kB / 445.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1306, allocations: 60.75 kB / 446 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1307, allocations: 0 / 446 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.1307, allocations: 38.55 kB / 446 MB, free: 1.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.1307, allocations: 7.984 kB / 446 MB, free: 1.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006342/0.1314, allocations: 189.4 kB / 446.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.1314, allocations: 55.39 kB / 446.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1316, allocations: 203.4 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1316, allocations: 30.08 kB / 446.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.1317, allocations: 112.1 kB / 446.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.1317, allocations: 31.55 kB / 446.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.1318, allocations: 25.62 kB / 446.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.562e-05/0.1319, allocations: 334.7 kB / 447 MB, free: 248 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.132, allocations: 51.94 kB / 447 MB, free: 196 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.1322, allocations: 70.52 kB / 447.1 MB, free: 116 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.1326, allocations: 130.4 kB / 447.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1327, allocations: 0 / 447.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004991/0.1332, allocations: 161.4 kB / 447.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.1332, allocations: 12.06 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1332, allocations: 0 / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.1333, allocations: 3.984 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.1336, allocations: 47.92 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009657/0.1346, allocations: 1.223 MB / 448.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1348, allocations: 23.86 kB / 448.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.1348, allocations: 0 / 448.7 MB, free: 14.46 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002719/0.1351, allocations: 143.7 kB / 448.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.1352, allocations: 19.73 kB / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/0.1358, allocations: 183 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1358, allocations: 4.094 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.1358, allocations: 4 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1358, allocations: 3.938 kB / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.1361, allocations: 229.5 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1362, allocations: 0 / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.1365, allocations: 39.98 kB / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1365, allocations: 0 / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.1365, allocations: 7.984 kB / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000788/0.1373, allocations: 1.223 MB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1373, allocations: 4 kB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.1379, allocations: 247.4 kB / 450.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.138, allocations: 96.91 kB / 450.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.138, allocations: 11.94 kB / 450.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.1382, allocations: 4 kB / 450.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.1383, allocations: 7.984 kB / 450.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1383, allocations: 0 / 450.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.1385, allocations: 153.2 kB / 451 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1386, allocations: 0 / 451 MB, free: 11.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005544/0.1391, allocations: 44 kB / 451.1 MB, free: 11.91 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.1402, allocations: 0.8137 MB / 451.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007545/0.141, allocations: 147.8 kB / 452 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.141, allocations: 0 / 452 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.1414, allocations: 95.8 kB / 452.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.142, allocations: 32.42 kB / 452.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.1458, allocations: 2.161 MB / 454.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.1463, allocations: 0.7279 MB / 455 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.1464, allocations: 37.05 kB / 455.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1465, allocations: 39.42 kB / 455.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1466, allocations: 0 / 455.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.1744, allocations: 4.544 MB / 459.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.37, allocations: 16.31 kB / 459.7 MB, free: 3.219 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches