Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001527/0.001527, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001809/0.001809, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 77.06 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1061, allocations: 62.45 MB / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003671/0.1098, allocations: 1.794 MB / 482 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1115, allocations: 0.8372 MB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.1116, allocations: 0 / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.1119, allocations: 47.73 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.1122, allocations: 67.66 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.1126, allocations: 79.73 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.1128, allocations: 151.3 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.1129, allocations: 9.125 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.1131, allocations: 71.69 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1132, allocations: 79.61 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1133, allocations: 4 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.1136, allocations: 163.7 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.039e-05/0.1136, allocations: 31.91 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.1137, allocations: 55.61 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.114, allocations: 211.5 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1141, allocations: 4 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1141, allocations: 0 / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1141, allocations: 0 / 483.7 MB, free: 1.574 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.00071/0.1148, allocations: 442.9 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1148, allocations: 8.031 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.1149, allocations: 46.73 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.1149, allocations: 24.73 kB / 484.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1152, allocations: 204.1 kB / 484.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1152, allocations: 4.375 kB / 484.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1152, allocations: 11.94 kB / 484.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.1156, allocations: 170.8 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1156, allocations: 3.938 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1156, allocations: 7.938 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.1157, allocations: 11.98 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.116, allocations: 171.8 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009422/0.117, allocations: 496 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.1174, allocations: 150.5 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.1176, allocations: 60.75 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.1176, allocations: 4 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.1176, allocations: 34.56 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1176, allocations: 0 / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005508/0.1182, allocations: 197.3 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.1182, allocations: 59.41 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1185, allocations: 199.4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1185, allocations: 25.7 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.1186, allocations: 115.9 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.1186, allocations: 27.56 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.1187, allocations: 33.7 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1188, allocations: 330.8 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1189, allocations: 47.95 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.1191, allocations: 78.39 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.1194, allocations: 126.8 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1194, allocations: 4 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003949/0.1198, allocations: 173.2 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1198, allocations: 4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1199, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1199, allocations: 4 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.1201, allocations: 43.97 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007586/0.1209, allocations: 1.223 MB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.1211, allocations: 15.97 kB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1211, allocations: 7.938 kB / 488.2 MB, free: 12.78 MB / 366.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.0001741/0.1213, allocations: 133.9 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.1213, allocations: 23.75 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.1217, allocations: 183 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1218, allocations: 3.938 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1218, allocations: 0 / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.1218, allocations: 3.984 kB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.122, allocations: 225.5 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.122, allocations: 4 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.1223, allocations: 43.97 kB / 488.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1223, allocations: 4 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1223, allocations: 4 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006803/0.123, allocations: 1.219 MB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.123, allocations: 0 / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.1234, allocations: 251.5 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.1234, allocations: 92.86 kB / 490.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.1235, allocations: 3.938 kB / 490.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1236, allocations: 15.97 kB / 490.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.1237, allocations: 7.984 kB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1237, allocations: 4 kB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1239, allocations: 157.2 kB / 490.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1239, allocations: 0 / 490.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1242, allocations: 36 kB / 490.6 MB, free: 10.24 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 (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.0007804/0.125, allocations: 0.8178 MB / 491.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004883/0.1255, allocations: 151.8 kB / 491.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1255, allocations: 8.062 kB / 491.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.1258, allocations: 83.94 kB / 491.7 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1261, allocations: 31.91 kB / 491.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.1289, allocations: 2.134 MB / 493.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1292, allocations: 0.724 MB / 494.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1293, allocations: 33.05 kB / 494.6 MB, free: 6.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.1294, allocations: 39.42 kB / 494.6 MB, free: 6.082 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1294, allocations: 7.938 kB / 494.7 MB, free: 6.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.1555, allocations: 4.598 MB / 499.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.4, allocations: 11.48 kB / 499.3 MB, free: 1.684 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches