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.0009307/0.0009307, allocations: 198.9 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 227.2 MB / 245 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009042/0.0009042, allocations: 94.92 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3121/0.3121, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002428/0.0002428, allocations: 8 kB / 468.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2995, allocations: 63.24 MB / 0.5192 GB, free: 43.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.4121, allocations: 96.24 MB / 0.6132 GB, free: 9.391 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.4124, allocations: 103.7 kB / 0.6133 GB, free: 9.293 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03592/0.4484, allocations: 14.11 MB / 0.6271 GB, free: 11.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4484, allocations: 0 / 0.6271 GB, free: 11.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.4485, allocations: 4 kB / 0.6271 GB, free: 11.1 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.001077/0.4495, allocations: 0.6665 MB / 0.6277 GB, free: 10.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4496, allocations: 12.03 kB / 0.6277 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004076/0.45, allocations: 79.45 kB / 0.6278 GB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.4504, allocations: 279.4 kB / 0.6281 GB, free: 9.977 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.4505, allocations: 29 kB / 0.6281 GB, free: 9.949 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.4505, allocations: 36 kB / 0.6281 GB, free: 9.914 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009509/0.4515, allocations: 0.5691 MB / 0.6287 GB, free: 9.332 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4515, allocations: 0 / 0.6287 GB, free: 9.332 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.4516, allocations: 20 kB / 0.6287 GB, free: 9.312 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.4516, allocations: 17 kB / 0.6287 GB, free: 9.297 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.4524, allocations: 439.5 kB / 0.6292 GB, free: 8.863 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.4545, allocations: 1.304 MB / 0.6304 GB, free: 7.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.4551, allocations: 311.5 kB / 0.6307 GB, free: 7.168 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.4552, allocations: 7.984 kB / 0.6307 GB, free: 7.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4552, allocations: 46.48 kB / 0.6308 GB, free: 7.105 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 2.524e-06/0.4552, allocations: 0 / 0.6308 GB, free: 7.105 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001416/0.4567, allocations: 0.7481 MB / 0.6315 GB, free: 6.297 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.4567, allocations: 110.9 kB / 0.6316 GB, free: 6.164 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.4573, allocations: 452.9 kB / 0.632 GB, free: 5.715 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.4573, allocations: 29.7 kB / 0.6321 GB, free: 5.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.4575, allocations: 208.2 kB / 0.6323 GB, free: 5.473 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.4575, allocations: 59.19 kB / 0.6323 GB, free: 5.414 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.4576, allocations: 0 / 0.6323 GB, free: 5.414 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4577, allocations: 354.8 kB / 0.6327 GB, free: 5.059 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.4581, allocations: 156.1 kB / 0.6328 GB, free: 4.902 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.4585, allocations: 234.6 kB / 0.633 GB, free: 4.637 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.4588, allocations: 179.8 kB / 0.6332 GB, free: 4.461 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4589, allocations: 0 / 0.6332 GB, free: 4.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009301/0.4598, allocations: 466.5 kB / 0.6337 GB, free: 4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4598, allocations: 4.344 kB / 0.6337 GB, free: 3.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.951e-05/0.4599, allocations: 39.91 kB / 0.6337 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.4599, allocations: 4 kB / 0.6337 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.4602, allocations: 43.91 kB / 0.6337 GB, free: 3.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.4602, allocations: 7.953 kB / 0.6338 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.4605, allocations: 67.41 kB / 0.6338 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.4606, allocations: 23.98 kB / 0.6338 GB, free: 3.812 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.0002102/0.4608, allocations: 201.6 kB / 0.634 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.4609, allocations: 35.53 kB / 0.6341 GB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008242/0.4617, allocations: 442.6 kB / 0.6345 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4618, allocations: 4 kB / 0.6345 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4618, allocations: 0 / 0.6345 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4618, allocations: 7.953 kB / 0.6345 GB, free: 3.137 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.4623, allocations: 369.3 kB / 0.6349 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.095e-05/0.4624, allocations: 31.97 kB / 0.6349 GB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.4625, allocations: 31.97 kB / 0.6349 GB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4625, allocations: 4 kB / 0.6349 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.4626, allocations: 11.98 kB / 0.6349 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.4626, allocations: 4 kB / 0.6349 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4626, allocations: 0 / 0.6349 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00081/0.4634, allocations: 0.6417 MB / 0.6356 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.4635, allocations: 120.6 kB / 0.6357 GB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.4636, allocations: 11.98 kB / 0.6357 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.4639, allocations: 23.94 kB / 0.6357 GB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.464, allocations: 23.97 kB / 0.6357 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.464, allocations: 11.94 kB / 0.6357 GB, free: 1.766 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003656/0.4644, allocations: 363 kB / 0.6361 GB, free: 1.414 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4644, allocations: 0 / 0.6361 GB, free: 1.414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006117/0.465, allocations: 135.8 kB / 0.6362 GB, free: 1.281 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.0004648/0.4655, allocations: 227.8 kB / 0.6364 GB, free: 1.051 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008644/0.4664, allocations: 0.5732 MB / 0.637 GB, free: 432 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4664, allocations: 0 / 0.637 GB, free: 432 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.4669, allocations: 421.1 kB / 0.6374 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.4674, allocations: 89.31 kB / 0.6375 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.4686, allocations: 0.8748 MB / 0.6383 GB, free: 14.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.4691, allocations: 0.8539 MB / 0.6392 GB, free: 14.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.4693, allocations: 71.22 kB / 0.6392 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.4693, allocations: 27.42 kB / 0.6393 GB, free: 13.99 MB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4693, allocations: 0 / 0.6393 GB, free: 13.99 MB / 458.7 MB Notification: Performance of Templates: time 0.01244/0.4818, allocations: 7.456 MB / 0.6465 GB, free: 6.641 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/jenkins/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