Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002185/0.002185, allocations: 182.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.2 MB / 219.4 MB, free: 14.22 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 78.77 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2722/0.2722, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.677e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 58.85 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.5996, allocations: 93.97 MB / 0.5646 GB, free: 9.648 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/0.6, allocations: 101.6 kB / 0.5647 GB, free: 9.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06155/0.6616, allocations: 13.7 MB / 0.5781 GB, free: 13.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6616, allocations: 0 / 0.5781 GB, free: 13.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.575e-05/0.6617, allocations: 8 kB / 0.5781 GB, free: 13.64 MB / 394.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.001368/0.6631, allocations: 0.6249 MB / 0.5787 GB, free: 12.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.6631, allocations: 8.031 kB / 0.5787 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.6632, allocations: 47.47 kB / 0.5787 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.6638, allocations: 281.3 kB / 0.579 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.6638, allocations: 34.72 kB / 0.579 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/0.6639, allocations: 37.92 kB / 0.5791 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.6651, allocations: 0.5211 MB / 0.5796 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.6652, allocations: 0 / 0.5796 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/0.6652, allocations: 17.19 kB / 0.5796 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.6653, allocations: 16.78 kB / 0.5796 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008966/0.6662, allocations: 358.8 kB / 0.5799 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003005/0.6692, allocations: 1.302 MB / 0.5812 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.67, allocations: 272.9 kB / 0.5815 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.6704, allocations: 120.9 kB / 0.5816 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.513e-05/0.6705, allocations: 15.67 kB / 0.5816 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.6705, allocations: 38.56 kB / 0.5816 GB, free: 10.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.755e-06/0.6705, allocations: 0 / 0.5816 GB, free: 10.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001034/0.6716, allocations: 309.9 kB / 0.5819 GB, free: 9.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.6717, allocations: 106.2 kB / 0.582 GB, free: 9.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.6725, allocations: 453.1 kB / 0.5825 GB, free: 9.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.6726, allocations: 25.7 kB / 0.5825 GB, free: 9.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.6728, allocations: 244.3 kB / 0.5827 GB, free: 9.277 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.6729, allocations: 61.8 kB / 0.5828 GB, free: 9.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.6729, allocations: 7.25 kB / 0.5828 GB, free: 9.219 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6731, allocations: 321.9 kB / 0.5831 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.6734, allocations: 112.8 kB / 0.5832 GB, free: 8.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.6739, allocations: 199.5 kB / 0.5834 GB, free: 8.598 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.6743, allocations: 141.2 kB / 0.5835 GB, free: 8.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.6743, allocations: 0 / 0.5835 GB, free: 8.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001041/0.6754, allocations: 356.6 kB / 0.5839 GB, free: 8.168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.6754, allocations: 8 kB / 0.5839 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/0.6755, allocations: 31.97 kB / 0.5839 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.6756, allocations: 8.281 kB / 0.5839 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.676, allocations: 39.91 kB / 0.584 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.676, allocations: 7.953 kB / 0.584 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.6765, allocations: 66.91 kB / 0.584 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.6766, allocations: 15.31 kB / 0.584 GB, free: 8 MB / 394.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 () * 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.0001637/0.6768, allocations: 128.2 kB / 0.5842 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.677, allocations: 35.53 kB / 0.5842 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.6783, allocations: 403.8 kB / 0.5846 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.6783, allocations: 7.984 kB / 0.5846 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6784, allocations: 0 / 0.5846 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.6784, allocations: 3.953 kB / 0.5846 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009061/0.6793, allocations: 373.5 kB / 0.585 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001111/0.6794, allocations: 35.97 kB / 0.585 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.6798, allocations: 27.97 kB / 0.585 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.6798, allocations: 4 kB / 0.585 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.6798, allocations: 11.05 kB / 0.585 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.6799, allocations: 4 kB / 0.585 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6799, allocations: 0 / 0.585 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.6809, allocations: 0.5705 MB / 0.5856 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.6811, allocations: 120.6 kB / 0.5857 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/0.6812, allocations: 11.92 kB / 0.5857 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/0.6818, allocations: 27.94 kB / 0.5857 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.6819, allocations: 19.84 kB / 0.5858 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.682, allocations: 8 kB / 0.5858 GB, free: 6.266 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006383/0.6826, allocations: 356.9 kB / 0.5861 GB, free: 5.984 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.2e-07/0.6826, allocations: 0 / 0.5861 GB, free: 5.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009001/0.6835, allocations: 136.2 kB / 0.5862 GB, free: 5.859 MB / 394.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 () * 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.0005887/0.6841, allocations: 217.9 kB / 0.5864 GB, free: 5.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.6852, allocations: 0.5065 MB / 0.5869 GB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6852, allocations: 0 / 0.5869 GB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.6858, allocations: 373.6 kB / 0.5873 GB, free: 4.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.6867, allocations: 87.06 kB / 0.5874 GB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.6885, allocations: 0.5915 MB / 0.588 GB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.6891, allocations: 0.8484 MB / 0.5888 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.6893, allocations: 35 kB / 0.5888 GB, free: 3.176 MB / 394.7 MB Notification: Performance of SimCode: time 1.153e-06/0.6893, allocations: 0 / 0.5888 GB, free: 3.176 MB / 394.7 MB Notification: Performance of Templates: time 0.01867/0.708, allocations: 7.624 MB / 0.5963 GB, free: 11.59 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches