Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.00178/0.00178, allocations: 104 kB / 17.63 MB, free: 5.523 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.001653/0.001653, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.398/1.398, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2186/0.2186, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 62.05 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.0032/0.1191, allocations: 1.771 MB / 471.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1204, allocations: 0.7868 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.1205, allocations: 4 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.1207, allocations: 43.73 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.121, allocations: 67.66 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.1213, allocations: 79.67 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1215, allocations: 151.3 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.1215, allocations: 13.11 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1216, allocations: 71.69 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1218, allocations: 75.67 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1218, allocations: 8 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.1221, allocations: 147.8 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.1222, allocations: 43.81 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.1222, allocations: 55.61 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.1225, allocations: 199.5 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1225, allocations: 0 / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1226, allocations: 0 / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1226, allocations: 0 / 472.9 MB, free: 10.73 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000642/0.1232, allocations: 462.9 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1233, allocations: 8.031 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.1233, allocations: 42.73 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.1234, allocations: 16.75 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.1236, allocations: 200.1 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1236, allocations: 8.359 kB / 473.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1236, allocations: 11.94 kB / 473.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.1239, allocations: 169.6 kB / 473.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.124, allocations: 0 / 473.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.124, allocations: 7.984 kB / 473.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.124, allocations: 12 kB / 473.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.1244, allocations: 167.8 kB / 474 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007147/0.1251, allocations: 496 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.1255, allocations: 154.4 kB / 474.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.1256, allocations: 60.78 kB / 474.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1257, allocations: 4 kB / 474.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.1257, allocations: 30.56 kB / 474.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1257, allocations: 4 kB / 474.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000526/0.1262, allocations: 197.3 kB / 474.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.1263, allocations: 55.41 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1264, allocations: 195.5 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1265, allocations: 29.7 kB / 475.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.1265, allocations: 116 kB / 475.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1266, allocations: 31.55 kB / 475.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.1266, allocations: 33.7 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1268, allocations: 330.8 kB / 475.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1269, allocations: 43.95 kB / 475.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1271, allocations: 74.45 kB / 475.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.1274, allocations: 130.5 kB / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1274, allocations: 0 / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003673/0.1277, allocations: 177.6 kB / 476.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1278, allocations: 4 kB / 476.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1278, allocations: 0 / 476.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1278, allocations: 8.062 kB / 476.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.1281, allocations: 43.97 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006374/0.1287, allocations: 1.219 MB / 477.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1289, allocations: 24.05 kB / 477.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1289, allocations: 4 kB / 477.4 MB, free: 5.93 MB / 350.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.000169/0.129, allocations: 137.8 kB / 477.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.1291, allocations: 15.84 kB / 477.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004138/0.1295, allocations: 183 kB / 477.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1295, allocations: 7.922 kB / 477.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1295, allocations: 0 / 477.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1295, allocations: 4 kB / 477.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.1298, allocations: 229.5 kB / 477.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1298, allocations: 0 / 477.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.13, allocations: 43.97 kB / 478 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.13, allocations: 0 / 478 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1301, allocations: 8 kB / 478 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006264/0.1307, allocations: 1.223 MB / 479.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1307, allocations: 3.938 kB / 479.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.1311, allocations: 243.3 kB / 479.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.1312, allocations: 92.86 kB / 479.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.1312, allocations: 12.03 kB / 479.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1313, allocations: 7.984 kB / 479.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.1314, allocations: 7.984 kB / 479.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1314, allocations: 8 kB / 479.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1315, allocations: 149.2 kB / 479.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1315, allocations: 0 / 479.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.1319, allocations: 40 kB / 479.8 MB, free: 3.398 MB / 350.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.0007458/0.1326, allocations: 0.8135 MB / 480.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000506/0.1331, allocations: 155.8 kB / 480.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1331, allocations: 3.938 kB / 480.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.1334, allocations: 83.94 kB / 480.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.1337, allocations: 28.11 kB / 480.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.1363, allocations: 2.162 MB / 483 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1366, allocations: 0.724 MB / 483.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.1367, allocations: 37.05 kB / 483.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.1368, allocations: 35.42 kB / 483.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1368, allocations: 384 / 483.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.1593, allocations: 4.543 MB / 488.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.16, allocations: 5.938 kB / 488.4 MB, free: 10.89 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches