Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_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.001447/0.001447, allocations: 194.5 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.5 MB / 244.1 MB, free: 8.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008037/0.0008035, allocations: 99.23 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2924/0.2924, allocations: 44.81 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002612, allocations: 11.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3043, allocations: 62.96 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.4162, allocations: 96.13 MB / 0.6104 GB, free: 9.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.4165, allocations: 99.94 kB / 0.6105 GB, free: 9.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03537/0.4519, allocations: 14.09 MB / 0.6242 GB, free: 10.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4519, allocations: 7.938 kB / 0.6242 GB, free: 10.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.4519, allocations: 8 kB / 0.6242 GB, free: 10.94 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.0009085/0.4528, allocations: 0.6588 MB / 0.6249 GB, free: 10.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4529, allocations: 8.031 kB / 0.6249 GB, free: 10.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003541/0.4533, allocations: 84.44 kB / 0.625 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.4536, allocations: 284.6 kB / 0.6252 GB, free: 9.816 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.4536, allocations: 25.38 kB / 0.6253 GB, free: 9.793 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.4537, allocations: 40.38 kB / 0.6253 GB, free: 9.754 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008483/0.4545, allocations: 0.5696 MB / 0.6259 GB, free: 9.168 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4546, allocations: 7.922 kB / 0.6259 GB, free: 9.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.4546, allocations: 16 kB / 0.6259 GB, free: 9.145 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.4546, allocations: 21 kB / 0.6259 GB, free: 9.125 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/0.4554, allocations: 435.6 kB / 0.6263 GB, free: 8.699 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.4571, allocations: 1.289 MB / 0.6276 GB, free: 7.352 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.4576, allocations: 315.5 kB / 0.6279 GB, free: 7.016 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.458, allocations: 170.4 kB / 0.628 GB, free: 6.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.458, allocations: 4 kB / 0.6281 GB, free: 6.836 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.4581, allocations: 34.5 kB / 0.6281 GB, free: 6.793 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/0.4581, allocations: 0 / 0.6281 GB, free: 6.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001169/0.4592, allocations: 0.5225 MB / 0.6286 GB, free: 6.266 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.4593, allocations: 106.8 kB / 0.6287 GB, free: 6.137 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.4598, allocations: 0.49 MB / 0.6292 GB, free: 5.637 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.4599, allocations: 29.7 kB / 0.6292 GB, free: 5.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.46, allocations: 208.3 kB / 0.6294 GB, free: 5.395 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.46, allocations: 63.09 kB / 0.6295 GB, free: 5.332 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.4601, allocations: 4 kB / 0.6295 GB, free: 5.328 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4602, allocations: 354.7 kB / 0.6298 GB, free: 4.973 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.4605, allocations: 160.1 kB / 0.63 GB, free: 4.812 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.4609, allocations: 238.5 kB / 0.6302 GB, free: 4.543 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/0.4617, allocations: 406 kB / 0.6306 GB, free: 4.109 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4617, allocations: 4 kB / 0.6306 GB, free: 4.105 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008682/0.4625, allocations: 470.4 kB / 0.631 GB, free: 3.641 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4626, allocations: 6.969 kB / 0.631 GB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.032e-05/0.4626, allocations: 31.98 kB / 0.6311 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4627, allocations: 4.344 kB / 0.6311 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.4629, allocations: 47.91 kB / 0.6311 GB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.4629, allocations: 4 kB / 0.6311 GB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.4631, allocations: 63.44 kB / 0.6312 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.4632, allocations: 20 kB / 0.6312 GB, free: 3.469 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.0002008/0.4634, allocations: 207.4 kB / 0.6314 GB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.982e-05/0.4635, allocations: 35.53 kB / 0.6314 GB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008219/0.4643, allocations: 443.8 kB / 0.6318 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.4643, allocations: 0 / 0.6318 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4643, allocations: 4 kB / 0.6319 GB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4643, allocations: 3.938 kB / 0.6319 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.4649, allocations: 373.3 kB / 0.6322 GB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.953e-05/0.4649, allocations: 27.98 kB / 0.6322 GB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4651, allocations: 35.97 kB / 0.6323 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.4651, allocations: 7.984 kB / 0.6323 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.4652, allocations: 8 kB / 0.6323 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4652, allocations: 0 / 0.6323 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4652, allocations: 0 / 0.6323 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/0.466, allocations: 0.6262 MB / 0.6329 GB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.4662, allocations: 124.6 kB / 0.633 GB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.4662, allocations: 4 kB / 0.633 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.4665, allocations: 27.91 kB / 0.6331 GB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.4666, allocations: 23.92 kB / 0.6331 GB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.4666, allocations: 12 kB / 0.6331 GB, free: 1.438 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003827/0.467, allocations: 359 kB / 0.6334 GB, free: 1.086 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.467, allocations: 4 kB / 0.6334 GB, free: 1.082 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005864/0.4676, allocations: 139.8 kB / 0.6336 GB, free: 0.9453 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.0004069/0.468, allocations: 219.1 kB / 0.6338 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009089/0.4689, allocations: 0.5816 MB / 0.6343 GB, free: 88 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4689, allocations: 0 / 0.6343 GB, free: 88 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004871/0.4694, allocations: 411.2 kB / 0.6347 GB, free: 15.63 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.4701, allocations: 95.98 kB / 0.6348 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.4714, allocations: 0.9008 MB / 0.6357 GB, free: 14.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.4718, allocations: 0.8383 MB / 0.6365 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.4719, allocations: 31.44 kB / 0.6366 GB, free: 13.7 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4719, allocations: 0 / 0.6366 GB, free: 13.7 MB / 458.7 MB Notification: Performance of Templates: time 0.01013/0.4821, allocations: 7.721 MB / 0.6441 GB, free: 6.023 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches