Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 106.4 kB / 16.41 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001289, allocations: 190.7 kB / 17.34 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2878/0.2878, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 73.47 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1491, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003416/0.1525, allocations: 2.072 MB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1545, allocations: 1.298 MB / 0.4912 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.1546, allocations: 4 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.1549, allocations: 67.59 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.1551, allocations: 79.45 kB / 0.4913 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.1557, allocations: 191.3 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.1562, allocations: 438 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.1563, allocations: 56.69 kB / 0.492 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.1565, allocations: 143.2 kB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1567, allocations: 175.1 kB / 0.4923 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.1568, allocations: 16 kB / 0.4923 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.1572, allocations: 251.6 kB / 0.4926 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1573, allocations: 91.53 kB / 0.4926 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.1575, allocations: 158.9 kB / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005945/0.1581, allocations: 0.5177 MB / 0.4933 GB, free: 6.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1581, allocations: 0 / 0.4933 GB, free: 6.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1581, allocations: 0 / 0.4933 GB, free: 6.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1581, allocations: 4 kB / 0.4933 GB, free: 6.227 MB / 382.1 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.001194/0.1593, allocations: 0.7135 MB / 0.494 GB, free: 5.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1594, allocations: 11.89 kB / 0.494 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.1594, allocations: 44.45 kB / 0.4941 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.1598, allocations: 296.2 kB / 0.4943 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.1599, allocations: 29 kB / 0.4944 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.1599, allocations: 36 kB / 0.4944 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/0.1609, allocations: 0.5535 MB / 0.4949 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1609, allocations: 0 / 0.4949 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.1609, allocations: 16 kB / 0.495 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.161, allocations: 24.88 kB / 0.495 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007825/0.1618, allocations: 415.6 kB / 0.4954 GB, free: 4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.1635, allocations: 1.281 MB / 0.4966 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.1641, allocations: 275.6 kB / 0.4969 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.1644, allocations: 138.5 kB / 0.497 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.492e-05/0.1645, allocations: 8 kB / 0.497 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1645, allocations: 34.56 kB / 0.4971 GB, free: 2.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.1645, allocations: 0 / 0.4971 GB, free: 2.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.00116/0.1657, allocations: 476.1 kB / 0.4975 GB, free: 1.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.1657, allocations: 106.8 kB / 0.4976 GB, free: 1.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.1664, allocations: 0.4939 MB / 0.4981 GB, free: 1.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1664, allocations: 25.7 kB / 0.4981 GB, free: 1.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1666, allocations: 212.1 kB / 0.4983 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.1666, allocations: 59.16 kB / 0.4984 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.1668, allocations: 61.7 kB / 0.4984 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1669, allocations: 354.8 kB / 0.4988 GB, free: 344 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/0.1674, allocations: 132.1 kB / 0.4989 GB, free: 212 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.1678, allocations: 218.5 kB / 0.4991 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007028/0.1685, allocations: 369.9 kB / 0.4995 GB, free: 15.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1686, allocations: 3.938 kB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008451/0.1694, allocations: 413 kB / 0.4999 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.1695, allocations: 11.94 kB / 0.4999 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.411e-05/0.1695, allocations: 35.98 kB / 0.4999 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1695, allocations: 4 kB / 0.4999 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.1697, allocations: 31.91 kB / 0.4999 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.1698, allocations: 4 kB / 0.4999 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.17, allocations: 59.41 kB / 0.5 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.17, allocations: 16 kB / 0.5 GB, free: 14.98 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.1703, allocations: 205.7 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.1704, allocations: 39.47 kB / 0.5003 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000901/0.1713, allocations: 400.4 kB / 0.5006 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.1713, allocations: 8 kB / 0.5006 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1713, allocations: 0 / 0.5006 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1713, allocations: 0 / 0.5006 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.1719, allocations: 369.3 kB / 0.501 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.153e-05/0.172, allocations: 31.98 kB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.1721, allocations: 31.84 kB / 0.5011 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1721, allocations: 3.938 kB / 0.5011 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.1721, allocations: 12 kB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1722, allocations: 4 kB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1722, allocations: 0 / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.1733, allocations: 0.5859 MB / 0.5016 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.1735, allocations: 124.5 kB / 0.5018 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.1735, allocations: 15.94 kB / 0.5018 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.1738, allocations: 11.98 kB / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.1739, allocations: 27.91 kB / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.1739, allocations: 12 kB / 0.5018 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003702/0.1743, allocations: 359.1 kB / 0.5022 GB, free: 12.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1743, allocations: 0 / 0.5022 GB, free: 12.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005376/0.1748, allocations: 119.9 kB / 0.5023 GB, free: 12.57 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003313/0.1752, allocations: 167.2 kB / 0.5024 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009003/0.1761, allocations: 0.5457 MB / 0.503 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1761, allocations: 0 / 0.503 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005401/0.1767, allocations: 387.9 kB / 0.5033 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.1773, allocations: 101.3 kB / 0.5034 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.1787, allocations: 0.777 MB / 0.5042 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.1792, allocations: 0.8497 MB / 0.505 GB, free: 9.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.1794, allocations: 63.23 kB / 0.5051 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.1795, allocations: 27.44 kB / 0.5051 GB, free: 9.48 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1795, allocations: 0 / 0.5051 GB, free: 9.48 MB / 398.1 MB Notification: Performance of Templates: time 0.01356/0.193, allocations: 7.778 MB / 0.5127 GB, free: 1.715 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches