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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.178/1.178, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008417/0.0008417, allocations: 93.06 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2937/0.2937, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002618, allocations: 8.219 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3225, allocations: 63.24 MB / 0.5192 GB, free: 43.75 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.4297, allocations: 92.17 MB / 0.6092 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.43, allocations: 106.1 kB / 0.6093 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01859/0.4486, allocations: 6.992 MB / 0.6161 GB, free: 6.363 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4486, allocations: 0 / 0.6161 GB, free: 6.363 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.4487, allocations: 4 kB / 0.6161 GB, free: 6.359 MB / 426.7 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.0005923/0.4493, allocations: 435.9 kB / 0.6166 GB, free: 5.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4493, allocations: 8.031 kB / 0.6166 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.4494, allocations: 15.81 kB / 0.6166 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.4496, allocations: 200.9 kB / 0.6168 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.4496, allocations: 11.98 kB / 0.6168 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.4497, allocations: 8 kB / 0.6168 GB, free: 5.609 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.45, allocations: 172.1 kB / 0.617 GB, free: 5.438 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4501, allocations: 3.938 kB / 0.617 GB, free: 5.434 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.4501, allocations: 4 kB / 0.617 GB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.4501, allocations: 15.98 kB / 0.617 GB, free: 5.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.4505, allocations: 171.8 kB / 0.6171 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/0.4512, allocations: 496.6 kB / 0.6176 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.4516, allocations: 166.4 kB / 0.6178 GB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.4517, allocations: 4 kB / 0.6178 GB, free: 4.535 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.4517, allocations: 30.56 kB / 0.6178 GB, free: 4.496 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.906e-06/0.4517, allocations: 3.984 kB / 0.6178 GB, free: 4.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005323/0.4522, allocations: 221.4 kB / 0.618 GB, free: 4.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.4523, allocations: 51.41 kB / 0.6181 GB, free: 4.207 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.4524, allocations: 178.7 kB / 0.6182 GB, free: 4.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.4525, allocations: 29.7 kB / 0.6183 GB, free: 3.984 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.4525, allocations: 116 kB / 0.6184 GB, free: 3.867 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.4526, allocations: 31.55 kB / 0.6184 GB, free: 3.836 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.4526, allocations: 4 kB / 0.6184 GB, free: 3.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4527, allocations: 330.8 kB / 0.6187 GB, free: 3.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.4529, allocations: 59.83 kB / 0.6188 GB, free: 3.441 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.453, allocations: 81.91 kB / 0.6189 GB, free: 3.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.4532, allocations: 55.95 kB / 0.6189 GB, free: 3.301 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4532, allocations: 0 / 0.6189 GB, free: 3.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003534/0.4535, allocations: 181.3 kB / 0.6191 GB, free: 3.117 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4535, allocations: 4 kB / 0.6191 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4536, allocations: 3.938 kB / 0.6191 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4536, allocations: 4 kB / 0.6191 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.4539, allocations: 47.95 kB / 0.6191 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006464/0.4545, allocations: 1.219 MB / 0.6203 GB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.4546, allocations: 19.86 kB / 0.6204 GB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.4547, allocations: 8 kB / 0.6204 GB, free: 1.766 MB / 426.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.4548, allocations: 142 kB / 0.6205 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.4548, allocations: 7.906 kB / 0.6205 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.4553, allocations: 195.3 kB / 0.6207 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4553, allocations: 3.984 kB / 0.6207 GB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4553, allocations: 0 / 0.6207 GB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4553, allocations: 4 kB / 0.6207 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.4555, allocations: 217.5 kB / 0.6209 GB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4555, allocations: 0 / 0.6209 GB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.4558, allocations: 52.05 kB / 0.621 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4558, allocations: 7.875 kB / 0.621 GB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.4558, allocations: 4 kB / 0.621 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005982/0.4564, allocations: 1.223 MB / 0.6222 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4564, allocations: 0 / 0.6222 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.4568, allocations: 259.5 kB / 0.6224 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.4569, allocations: 92.91 kB / 0.6225 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.4569, allocations: 3.938 kB / 0.6225 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.457, allocations: 12 kB / 0.6225 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.4571, allocations: 7.984 kB / 0.6225 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.4571, allocations: 0 / 0.6225 GB, free: 15.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.4572, allocations: 161.1 kB / 0.6227 GB, free: 15.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4572, allocations: 0 / 0.6227 GB, free: 15.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.4575, allocations: 55.92 kB / 0.6227 GB, free: 15.2 MB / 442.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002321/0.4577, allocations: 147.2 kB / 0.6229 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.4582, allocations: 147.9 kB / 0.623 GB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4582, allocations: 0 / 0.623 GB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.4585, allocations: 88.14 kB / 0.6231 GB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.4587, allocations: 32.25 kB / 0.6231 GB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.4593, allocations: 395.8 kB / 0.6235 GB, free: 14.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.4596, allocations: 0.7318 MB / 0.6242 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.529e-05/0.4597, allocations: 45.02 kB / 0.6243 GB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.4597, allocations: 11.44 kB / 0.6243 GB, free: 13.55 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4597, allocations: 0 / 0.6243 GB, free: 13.55 MB / 442.7 MB Notification: Performance of Templates: time 0.004974/0.4647, allocations: 2.417 MB / 0.6266 GB, free: 11.2 MB / 442.7 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","../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