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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001525/0.001525, allocations: 107.1 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002602/0.002602, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.11 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 71.03 kB / 417.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1121, allocations: 62.44 MB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003591/0.1158, allocations: 1.856 MB / 481.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1176, allocations: 0.8335 MB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1177, allocations: 0 / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.1181, allocations: 35.83 kB / 482.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.1186, allocations: 67.7 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.119, allocations: 63.81 kB / 482.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.1192, allocations: 151.3 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.1193, allocations: 17.11 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.1195, allocations: 79.69 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.1197, allocations: 83.61 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.1197, allocations: 4 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.12, allocations: 159.8 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.214e-05/0.1201, allocations: 31.89 kB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.1202, allocations: 63.59 kB / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.1206, allocations: 199.5 kB / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1206, allocations: 0 / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1206, allocations: 4 kB / 483.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1206, allocations: 4 kB / 483.1 MB, free: 1.938 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.0008514/0.1215, allocations: 446.9 kB / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.948e-05/0.1216, allocations: 12.03 kB / 483.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.1217, allocations: 16.75 kB / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.122, allocations: 200.1 kB / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.122, allocations: 8.375 kB / 483.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1221, allocations: 16.11 kB / 483.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.1226, allocations: 169.6 kB / 484 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1226, allocations: 0 / 484 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.1226, allocations: 4 kB / 484 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.367e-05/0.1227, allocations: 11.94 kB / 484 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.1231, allocations: 167.8 kB / 484.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.1242, allocations: 0.4921 MB / 484.7 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.1247, allocations: 150.5 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1248, allocations: 60.84 kB / 484.9 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.1249, allocations: 8 kB / 484.9 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1249, allocations: 34.56 kB / 484.9 MB, free: 4 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1249, allocations: 0 / 484.9 MB, free: 4 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005959/0.1255, allocations: 201.3 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.1256, allocations: 51.41 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1258, allocations: 204.3 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1258, allocations: 25.7 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/0.1259, allocations: 119.9 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.1259, allocations: 31.55 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.398e-05/0.126, allocations: 29.7 kB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1261, allocations: 326.8 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1263, allocations: 51.95 kB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.1265, allocations: 70.52 kB / 486 MB, free: 14.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.1268, allocations: 130.4 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1268, allocations: 0 / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003947/0.1272, allocations: 169.6 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1272, allocations: 8.062 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1272, allocations: 4 kB / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1273, allocations: 0 / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.1276, allocations: 51.97 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008194/0.1284, allocations: 1.215 MB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1286, allocations: 15.86 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1286, allocations: 4 kB / 487.6 MB, free: 13.2 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.0001869/0.1288, allocations: 137.8 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.1288, allocations: 19.69 kB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.1293, allocations: 186.9 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1293, allocations: 4.062 kB / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1293, allocations: 0 / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1293, allocations: 4 kB / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.1296, allocations: 217.5 kB / 488.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1296, allocations: 11.88 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.1299, allocations: 47.97 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.1299, allocations: 3.984 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1299, allocations: 0 / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007078/0.1306, allocations: 1.219 MB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.1307, allocations: 8.031 kB / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.1311, allocations: 247.4 kB / 489.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.1312, allocations: 96.86 kB / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.1312, allocations: 7.938 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1314, allocations: 7.984 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.1314, allocations: 7.984 kB / 489.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1314, allocations: 4 kB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.1316, allocations: 149.2 kB / 489.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1316, allocations: 0 / 489.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.1319, allocations: 44 kB / 490 MB, free: 10.66 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.0002632/0.1322, allocations: 127.2 kB / 490.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000558/0.1328, allocations: 160.1 kB / 490.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1328, allocations: 0 / 490.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.1331, allocations: 87.88 kB / 490.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1334, allocations: 19.98 kB / 490.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008006/0.1342, allocations: 395.4 kB / 490.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1346, allocations: 0.7279 MB / 491.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1347, allocations: 33.06 kB / 491.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.1347, allocations: 19.42 kB / 491.5 MB, free: 9.047 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1348, allocations: 0 / 491.5 MB, free: 9.047 MB / 366.1 MB Notification: Performance of Templates: time 0.006442/0.1412, allocations: 2.56 MB / 494.1 MB, free: 6.535 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/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/jenkins/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