Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001071, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008414/0.0008414, allocations: 89.45 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1782/0.1782, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.599e-05, allocations: 4 kB / 460.4 MB, free: 69.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09458, allocations: 63.24 MB / 0.5114 GB, free: 6.766 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3603/0.4549, allocations: 93.78 MB / 0.603 GB, free: 164 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.4551, allocations: 92.8 kB / 0.6031 GB, free: 108 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02642/0.4816, allocations: 10.36 MB / 0.6132 GB, free: 7.223 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.4816, allocations: 3.938 kB / 0.6132 GB, free: 7.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4816, allocations: 4 kB / 0.6132 GB, free: 7.215 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0005836/0.4822, allocations: 0.4897 MB / 0.6136 GB, free: 6.699 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.4823, allocations: 15.97 kB / 0.6137 GB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.4823, allocations: 27.62 kB / 0.6137 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.4826, allocations: 246.3 kB / 0.6139 GB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.4827, allocations: 19.12 kB / 0.6139 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.4827, allocations: 23 kB / 0.614 GB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/0.4832, allocations: 375.8 kB / 0.6143 GB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4832, allocations: 0 / 0.6143 GB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.4833, allocations: 18.42 kB / 0.6143 GB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.4833, allocations: 20.77 kB / 0.6144 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.4838, allocations: 379.8 kB / 0.6147 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.485, allocations: 0.8993 MB / 0.6156 GB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.4855, allocations: 281.4 kB / 0.6159 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.4857, allocations: 95.19 kB / 0.616 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4857, allocations: 8.062 kB / 0.616 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.4857, allocations: 37.38 kB / 0.616 GB, free: 4.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.4857, allocations: 0 / 0.616 GB, free: 4.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004062/0.4861, allocations: 234.9 kB / 0.6162 GB, free: 4.305 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.4862, allocations: 51.41 kB / 0.6163 GB, free: 4.242 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.4864, allocations: 310.1 kB / 0.6166 GB, free: 3.984 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.4865, allocations: 33.64 kB / 0.6166 GB, free: 3.945 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.4866, allocations: 164.9 kB / 0.6168 GB, free: 3.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.4866, allocations: 56.89 kB / 0.6168 GB, free: 3.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.4866, allocations: 0 / 0.6168 GB, free: 3.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4868, allocations: 344.8 kB / 0.6171 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.4869, allocations: 86.98 kB / 0.6172 GB, free: 3.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.487, allocations: 129.9 kB / 0.6174 GB, free: 3.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4872, allocations: 103.7 kB / 0.6175 GB, free: 3.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4872, allocations: 0 / 0.6175 GB, free: 3.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003976/0.4876, allocations: 292.5 kB / 0.6177 GB, free: 2.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4876, allocations: 8 kB / 0.6177 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4876, allocations: 0 / 0.6177 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4877, allocations: 4 kB / 0.6177 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.4882, allocations: 115.2 kB / 0.6179 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.49, allocations: 3.707 MB / 0.6215 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.4902, allocations: 35.05 kB / 0.6215 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.4902, allocations: 8 kB / 0.6215 GB, free: 14.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/0.4903, allocations: 123.3 kB / 0.6216 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.4903, allocations: 31.58 kB / 0.6217 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005273/0.4909, allocations: 323.1 kB / 0.622 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4909, allocations: 0 / 0.622 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4909, allocations: 0 / 0.622 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4909, allocations: 3.984 kB / 0.622 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.4912, allocations: 313.3 kB / 0.6223 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4912, allocations: 0 / 0.6223 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/0.4918, allocations: 119.2 kB / 0.6224 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4918, allocations: 8 kB / 0.6224 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.4918, allocations: 4 kB / 0.6224 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.4937, allocations: 3.705 MB / 0.626 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4937, allocations: 0 / 0.626 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.4941, allocations: 336.6 kB / 0.6263 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.4942, allocations: 108.7 kB / 0.6264 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.4942, allocations: 4 kB / 0.6264 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.4944, allocations: 7.375 kB / 0.6265 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.4944, allocations: 16.06 kB / 0.6265 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.4945, allocations: 11.94 kB / 0.6265 GB, free: 9.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000253/0.4947, allocations: 253.6 kB / 0.6267 GB, free: 9.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4947, allocations: 0 / 0.6267 GB, free: 9.559 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.4951, allocations: 79.66 kB / 0.6268 GB, free: 9.488 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * 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): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002704/0.4954, allocations: 159.2 kB / 0.6269 GB, free: 9.328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007411/0.4961, allocations: 272.8 kB / 0.6272 GB, free: 9.086 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4961, allocations: 0 / 0.6272 GB, free: 9.086 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005197/0.4967, allocations: 163.5 kB / 0.6274 GB, free: 8.938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.497, allocations: 59.3 kB / 0.6274 GB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/0.4977, allocations: 418.2 kB / 0.6278 GB, free: 8.496 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.498, allocations: 0.8056 MB / 0.6286 GB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.4982, allocations: 69.98 kB / 0.6287 GB, free: 7.598 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.4982, allocations: 26.67 kB / 0.6287 GB, free: 7.578 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4982, allocations: 0 / 0.6287 GB, free: 7.578 MB / 426.7 MB Notification: Performance of Templates: time 0.008848/0.5071, allocations: 5.421 MB / 0.634 GB, free: 2.246 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches