Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 200.4 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.629/1.629, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007989/0.0007989, allocations: 104.8 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2887/0.2887, allocations: 44.83 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002945, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2952, allocations: 62.95 MB / 0.5184 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.4058, allocations: 96.13 MB / 0.6123 GB, free: 9.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.4062, allocations: 107.9 kB / 0.6124 GB, free: 9.078 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03688/0.443, allocations: 14.1 MB / 0.6262 GB, free: 10.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4431, allocations: 0 / 0.6262 GB, free: 10.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.4431, allocations: 8 kB / 0.6262 GB, free: 10.86 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009915/0.4441, allocations: 0.6549 MB / 0.6268 GB, free: 10.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.4442, allocations: 8.031 kB / 0.6268 GB, free: 10.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.4446, allocations: 92.42 kB / 0.6269 GB, free: 10.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.445, allocations: 276.6 kB / 0.6272 GB, free: 9.746 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.445, allocations: 33.36 kB / 0.6272 GB, free: 9.715 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.4451, allocations: 36.38 kB / 0.6273 GB, free: 9.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009839/0.4461, allocations: 0.5696 MB / 0.6278 GB, free: 9.094 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.4461, allocations: 3.938 kB / 0.6278 GB, free: 9.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.4462, allocations: 15.94 kB / 0.6278 GB, free: 9.074 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.4462, allocations: 24.98 kB / 0.6279 GB, free: 9.051 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008908/0.4471, allocations: 435.6 kB / 0.6283 GB, free: 8.625 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.4491, allocations: 1.293 MB / 0.6295 GB, free: 7.273 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/0.4496, allocations: 311.6 kB / 0.6298 GB, free: 6.941 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.45, allocations: 166.4 kB / 0.63 GB, free: 6.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.45, allocations: 11.97 kB / 0.63 GB, free: 6.758 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.4501, allocations: 46.5 kB / 0.63 GB, free: 6.703 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 2.234e-06/0.4501, allocations: 0 / 0.63 GB, free: 6.703 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001225/0.4513, allocations: 0.5205 MB / 0.6306 GB, free: 6.176 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.4514, allocations: 102.8 kB / 0.6307 GB, free: 6.051 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.4519, allocations: 0.49 MB / 0.6311 GB, free: 5.551 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.452, allocations: 25.7 kB / 0.6312 GB, free: 5.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.4521, allocations: 212.2 kB / 0.6314 GB, free: 5.309 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.4522, allocations: 59.11 kB / 0.6314 GB, free: 5.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.4522, allocations: 4 kB / 0.6314 GB, free: 5.246 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4524, allocations: 362.7 kB / 0.6318 GB, free: 4.883 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.4527, allocations: 148.1 kB / 0.6319 GB, free: 4.734 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.4531, allocations: 234.6 kB / 0.6321 GB, free: 4.469 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/0.4538, allocations: 419.5 kB / 0.6325 GB, free: 4.023 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4538, allocations: 0 / 0.6325 GB, free: 4.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000906/0.4547, allocations: 470.5 kB / 0.633 GB, free: 3.559 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4548, allocations: 4 kB / 0.633 GB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.504e-05/0.4548, allocations: 35.98 kB / 0.633 GB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4549, allocations: 4 kB / 0.633 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.4551, allocations: 40.03 kB / 0.6331 GB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4551, allocations: 8 kB / 0.6331 GB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.4554, allocations: 67.44 kB / 0.6331 GB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.4554, allocations: 12 kB / 0.6331 GB, free: 3.391 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002762/0.4557, allocations: 199.4 kB / 0.6333 GB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.4558, allocations: 35.53 kB / 0.6334 GB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008367/0.4567, allocations: 441.6 kB / 0.6338 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.4567, allocations: 4 kB / 0.6338 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4567, allocations: 0 / 0.6338 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4567, allocations: 7.922 kB / 0.6338 GB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.4573, allocations: 377.3 kB / 0.6342 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-05/0.4574, allocations: 31.94 kB / 0.6342 GB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.4575, allocations: 31.97 kB / 0.6342 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4576, allocations: 0 / 0.6342 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.4576, allocations: 15.98 kB / 0.6342 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4576, allocations: 0 / 0.6342 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4576, allocations: 4 kB / 0.6342 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008316/0.4584, allocations: 0.6262 MB / 0.6348 GB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.4586, allocations: 120.6 kB / 0.635 GB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.4586, allocations: 0 / 0.635 GB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.4589, allocations: 31.92 kB / 0.635 GB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.459, allocations: 31.89 kB / 0.635 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.459, allocations: 8 kB / 0.635 GB, free: 1.355 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003845/0.4594, allocations: 359 kB / 0.6354 GB, free: 1.004 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4594, allocations: 0 / 0.6354 GB, free: 1.004 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006118/0.4601, allocations: 139.8 kB / 0.6355 GB, free: 0.8672 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00051/0.4606, allocations: 221.5 kB / 0.6357 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009484/0.4615, allocations: 0.577 MB / 0.6363 GB, free: 12 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4616, allocations: 0.6875 kB / 0.6363 GB, free: 12 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.4621, allocations: 415.4 kB / 0.6367 GB, free: 15.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.4629, allocations: 96.72 kB / 0.6368 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4644, allocations: 0.8757 MB / 0.6376 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.4649, allocations: 0.8499 MB / 0.6385 GB, free: 13.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000197/0.4651, allocations: 63.23 kB / 0.6385 GB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.4652, allocations: 23.44 kB / 0.6385 GB, free: 13.59 MB / 458.7 MB Notification: Performance of SimCode: time 8.42e-07/0.4652, allocations: 0 / 0.6385 GB, free: 13.59 MB / 458.7 MB Notification: Performance of Templates: time 0.01309/0.4783, allocations: 7.796 MB / 0.6462 GB, free: 5.875 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches