Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, 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.188/1.188, allocations: 227.2 MB / 245 MB, free: 7.555 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009168/0.0009167, allocations: 105.6 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2933/0.2933, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002431/0.0002431, allocations: 8 kB / 468.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3314, allocations: 63.24 MB / 0.5192 GB, free: 43.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09913/0.4305, allocations: 94.75 MB / 0.6117 GB, free: 10.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.4308, allocations: 111.7 kB / 0.6118 GB, free: 10.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01874/0.4496, allocations: 7.117 MB / 0.6188 GB, free: 3.664 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4496, allocations: 0 / 0.6188 GB, free: 3.664 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4496, allocations: 4 kB / 0.6188 GB, free: 3.66 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005119/0.4501, allocations: 488.2 kB / 0.6193 GB, free: 3.137 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.4502, allocations: 8.031 kB / 0.6193 GB, free: 3.129 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.4502, allocations: 23.72 kB / 0.6193 GB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.4505, allocations: 219.6 kB / 0.6195 GB, free: 2.852 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.4505, allocations: 16.44 kB / 0.6195 GB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.4505, allocations: 16 kB / 0.6195 GB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.4509, allocations: 227.2 kB / 0.6197 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4509, allocations: 4 kB / 0.6197 GB, free: 2.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.451, allocations: 8 kB / 0.6198 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.451, allocations: 4 kB / 0.6198 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.4514, allocations: 261.6 kB / 0.62 GB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009025/0.4523, allocations: 0.6273 MB / 0.6206 GB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.4526, allocations: 118.6 kB / 0.6207 GB, free: 1.516 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.4527, allocations: 4 kB / 0.6207 GB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4527, allocations: 46.47 kB / 0.6208 GB, free: 1.457 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.4527, allocations: 0 / 0.6208 GB, free: 1.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004861/0.4532, allocations: 173.5 kB / 0.6209 GB, free: 1.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.4533, allocations: 59.41 kB / 0.621 GB, free: 1.211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.4535, allocations: 238.1 kB / 0.6212 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.4535, allocations: 25.7 kB / 0.6213 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.4536, allocations: 175.2 kB / 0.6214 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.4536, allocations: 31.55 kB / 0.6215 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.4536, allocations: 4 kB / 0.6215 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4538, allocations: 334.8 kB / 0.6218 GB, free: 408 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4539, allocations: 55.95 kB / 0.6218 GB, free: 352 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4541, allocations: 148.8 kB / 0.622 GB, free: 156 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.4543, allocations: 81.38 kB / 0.6221 GB, free: 76 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4543, allocations: 0 / 0.6221 GB, free: 76 kB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004545/0.4547, allocations: 237.1 kB / 0.6223 GB, free: 15.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4548, allocations: 8 kB / 0.6223 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4548, allocations: 8.438 kB / 0.6223 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4548, allocations: 4 kB / 0.6223 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.4551, allocations: 91.89 kB / 0.6224 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006865/0.4558, allocations: 1.219 MB / 0.6236 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.456, allocations: 39.86 kB / 0.6236 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.4561, allocations: 12 kB / 0.6236 GB, free: 14.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0001077/0.4562, allocations: 129.7 kB / 0.6237 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.4562, allocations: 23.72 kB / 0.6238 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.4567, allocations: 191.5 kB / 0.624 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4567, allocations: 4 kB / 0.624 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4567, allocations: 0 / 0.624 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4567, allocations: 3.984 kB / 0.624 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.4573, allocations: 456 kB / 0.6244 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4573, allocations: 7.969 kB / 0.6244 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.4576, allocations: 63.89 kB / 0.6245 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4576, allocations: 0 / 0.6245 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.4576, allocations: 4 kB / 0.6245 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005894/0.4582, allocations: 1.215 MB / 0.6257 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4582, allocations: 0 / 0.6257 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.4586, allocations: 276.4 kB / 0.6259 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.4586, allocations: 100.8 kB / 0.626 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.4587, allocations: 4 kB / 0.626 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.4588, allocations: 15.98 kB / 0.626 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.4589, allocations: 8 kB / 0.626 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.4589, allocations: 7.984 kB / 0.626 GB, free: 11.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.459, allocations: 178 kB / 0.6262 GB, free: 11.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4591, allocations: 4 kB / 0.6262 GB, free: 11.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003706/0.4594, allocations: 79.92 kB / 0.6263 GB, free: 11.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0002876/0.4597, allocations: 169.9 kB / 0.6265 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.4602, allocations: 175.8 kB / 0.6266 GB, free: 11.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4602, allocations: 4 kB / 0.6266 GB, free: 11.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.4605, allocations: 84.88 kB / 0.6267 GB, free: 11.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.4607, allocations: 29.16 kB / 0.6267 GB, free: 11.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006834/0.4614, allocations: 464.2 kB / 0.6272 GB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.4617, allocations: 0.7404 MB / 0.6279 GB, free: 9.781 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.435e-05/0.4618, allocations: 21.94 kB / 0.6279 GB, free: 9.762 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.4619, allocations: 19.44 kB / 0.6279 GB, free: 9.746 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4619, allocations: 0 / 0.6279 GB, free: 9.746 MB / 442.7 MB Notification: Performance of Templates: time 0.006573/0.4684, allocations: 3.626 MB / 0.6315 GB, free: 6.168 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches