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.001017/0.001017, allocations: 103 kB / 15.98 MB, free: 6.355 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.000973/0.0009731, allocations: 189.2 kB / 16.91 MB, free: 6.191 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.456/1.456, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3554/0.3554, allocations: 43.5 MB / 313.6 MB, free: 8.574 MB / 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.001378/0.001378, allocations: 63.91 kB / 382.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1338, allocations: 57.78 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003643/0.1375, allocations: 2.128 MB / 442.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1395, allocations: 1.294 MB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/0.1396, allocations: 0 / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.14, allocations: 59.66 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.1401, allocations: 71.58 kB / 443.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.1407, allocations: 171.5 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005325/0.1413, allocations: 434 kB / 444.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1414, allocations: 60.67 kB / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.1416, allocations: 139.2 kB / 444.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.1419, allocations: 183.1 kB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.1419, allocations: 15.94 kB / 444.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.1424, allocations: 259.5 kB / 444.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1425, allocations: 79.66 kB / 444.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.1427, allocations: 174.8 kB / 445.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.1433, allocations: 0.5101 MB / 445.6 MB, free: 9.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1433, allocations: 0 / 445.6 MB, free: 9.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1433, allocations: 3.938 kB / 445.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1433, allocations: 3.938 kB / 445.6 MB, free: 9.125 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.001258/0.1446, allocations: 0.7096 MB / 446.3 MB, free: 8.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1447, allocations: 15.89 kB / 446.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.798e-05/0.1447, allocations: 44.47 kB / 446.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1451, allocations: 288.5 kB / 446.6 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.1451, allocations: 32.94 kB / 446.7 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.1452, allocations: 36 kB / 446.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008703/0.1461, allocations: 0.5496 MB / 447.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1461, allocations: 8 kB / 447.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.1461, allocations: 12 kB / 447.3 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.1462, allocations: 17 kB / 447.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.1469, allocations: 411.6 kB / 447.7 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.1487, allocations: 1.285 MB / 449 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.1493, allocations: 283.5 kB / 449.2 MB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.1496, allocations: 134.5 kB / 449.4 MB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.429e-05/0.1497, allocations: 15.97 kB / 449.4 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1497, allocations: 38.56 kB / 449.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.853e-06/0.1497, allocations: 0 / 449.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001134/0.1509, allocations: 468.3 kB / 449.9 MB, free: 4.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.1509, allocations: 107.1 kB / 450 MB, free: 4.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.1515, allocations: 0.494 MB / 450.5 MB, free: 3.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1515, allocations: 25.7 kB / 450.5 MB, free: 3.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.1517, allocations: 212.2 kB / 450.7 MB, free: 3.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.1517, allocations: 59.11 kB / 450.8 MB, free: 3.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1519, allocations: 69.69 kB / 450.8 MB, free: 3.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.152, allocations: 350.8 kB / 451.2 MB, free: 3.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.1523, allocations: 136.1 kB / 451.3 MB, free: 3.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.1527, allocations: 206.5 kB / 451.5 MB, free: 2.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.1533, allocations: 369.9 kB / 451.9 MB, free: 2.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1534, allocations: 112 / 451.9 MB, free: 2.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008043/0.1542, allocations: 420.6 kB / 452.3 MB, free: 2.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.1542, allocations: 8.344 kB / 452.3 MB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.112e-05/0.1543, allocations: 39.94 kB / 452.3 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1543, allocations: 4 kB / 452.3 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.1545, allocations: 39.89 kB / 452.4 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1545, allocations: 4 kB / 452.4 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.1548, allocations: 59.41 kB / 452.4 MB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.1548, allocations: 12 kB / 452.5 MB, free: 1.883 MB / 382.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.0002113/0.155, allocations: 202.4 kB / 452.6 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.486e-05/0.1551, allocations: 47.52 kB / 452.7 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000774/0.1559, allocations: 392.8 kB / 453.1 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.1559, allocations: 11.98 kB / 453.1 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1559, allocations: 0 / 453.1 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.156, allocations: 0 / 453.1 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.1565, allocations: 369.3 kB / 453.5 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.218e-05/0.1565, allocations: 31.98 kB / 453.5 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.1567, allocations: 27.91 kB / 453.5 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1567, allocations: 3.938 kB / 453.5 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.1567, allocations: 12 kB / 453.5 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1567, allocations: 0 / 453.5 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1567, allocations: 0 / 453.5 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/0.1576, allocations: 0.5868 MB / 454.1 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.1577, allocations: 120.6 kB / 454.2 MB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2197/0.3774, allocations: 8.953 kB / 454.2 MB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.3779, allocations: 17.48 kB / 454.3 MB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3781, allocations: 23.16 kB / 454.3 MB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.3781, allocations: 14.45 kB / 454.3 MB, free: 48.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004168/0.3785, allocations: 357.5 kB / 454.6 MB, free: 48.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3785, allocations: 0 / 454.6 MB, free: 48.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005846/0.3791, allocations: 120.1 kB / 454.8 MB, free: 48.9 MB / 382.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.0003578/0.3795, allocations: 179.7 kB / 454.9 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008651/0.3804, allocations: 0.5482 MB / 455.5 MB, free: 48.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3804, allocations: 0 / 455.5 MB, free: 48.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.3808, allocations: 390.9 kB / 455.9 MB, free: 48.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.3815, allocations: 99.92 kB / 456 MB, free: 48.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.3828, allocations: 0.8781 MB / 456.8 MB, free: 47.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.383, allocations: 0.8478 MB / 457.7 MB, free: 47.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.3832, allocations: 65.78 kB / 457.8 MB, free: 47.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.3833, allocations: 31.22 kB / 457.8 MB, free: 47.18 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3833, allocations: 3.719 kB / 457.8 MB, free: 47.18 MB / 382.1 MB Notification: Performance of Templates: time 0.01172/0.395, allocations: 7.423 MB / 465.2 MB, free: 46.69 MB / 382.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","../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