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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 96.31 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 192.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.19 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.0002624, allocations: 8 kB / 418.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 63.56 MB / 482.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002997/0.1412, allocations: 1.748 MB / 484.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.1435, allocations: 1.208 MB / 485.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.1438, allocations: 4 kB / 485.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.1442, allocations: 59.66 kB / 485.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1445, allocations: 71.58 kB / 485.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.1453, allocations: 159.5 kB / 485.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006424/0.1459, allocations: 465.9 kB / 486.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1461, allocations: 56.69 kB / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.1464, allocations: 139.2 kB / 486.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.1467, allocations: 179.2 kB / 486.5 MB, free: 412 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.1468, allocations: 8 kB / 486.5 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005593/0.1474, allocations: 255.6 kB / 486.7 MB, free: 148 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.1475, allocations: 79.59 kB / 486.8 MB, free: 68 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.1477, allocations: 85.56 kB / 486.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000604/0.1483, allocations: 383.2 kB / 487.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1483, allocations: 3.938 kB / 487.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1483, allocations: 0 / 487.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.1483, allocations: 0 / 487.3 MB, free: 15.59 MB / 366.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.001273/0.1496, allocations: 0.6665 MB / 488 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1497, allocations: 12.03 kB / 488 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/0.1501, allocations: 83.48 kB / 488 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.1505, allocations: 283.3 kB / 488.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.1506, allocations: 32.98 kB / 488.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.1506, allocations: 36 kB / 488.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009626/0.1516, allocations: 0.5652 MB / 489 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1516, allocations: 0 / 489 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.1517, allocations: 16 kB / 489 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.1517, allocations: 16.94 kB / 489 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000812/0.1525, allocations: 431.6 kB / 489.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.1545, allocations: 1.281 MB / 490.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005957/0.1551, allocations: 315.5 kB / 491 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.1555, allocations: 162.4 kB / 491.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.1555, allocations: 12.06 kB / 491.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1556, allocations: 38.5 kB / 491.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.1556, allocations: 4 kB / 491.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001262/0.1568, allocations: 0.5269 MB / 491.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.1569, allocations: 106.9 kB / 491.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.1575, allocations: 0.49 MB / 492.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.1576, allocations: 29.7 kB / 492.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.1578, allocations: 220.1 kB / 492.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.1578, allocations: 55.2 kB / 492.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.1579, allocations: 4 kB / 492.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1581, allocations: 358.7 kB / 493 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.1584, allocations: 156.1 kB / 493.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.1588, allocations: 236.5 kB / 493.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.1592, allocations: 183.8 kB / 493.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1592, allocations: 0 / 493.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000932/0.1602, allocations: 472.8 kB / 494 MB, free: 8.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.1602, allocations: 10.53 kB / 494 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.537e-05/0.1603, allocations: 28 kB / 494 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/0.1603, allocations: 4 kB / 494 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.1605, allocations: 51.83 kB / 494.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1606, allocations: 4 kB / 494.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.1608, allocations: 55.58 kB / 494.2 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.1609, allocations: 23.97 kB / 494.2 MB, free: 8.391 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002549/0.1611, allocations: 201.6 kB / 494.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.1613, allocations: 35.53 kB / 494.4 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009279/0.1622, allocations: 439.7 kB / 494.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1622, allocations: 4 kB / 494.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1622, allocations: 4 kB / 494.8 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1622, allocations: 0 / 494.8 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.1629, allocations: 381.2 kB / 495.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.408e-05/0.1629, allocations: 32 kB / 495.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1631, allocations: 35.91 kB / 495.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1631, allocations: 0 / 495.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.1631, allocations: 15.98 kB / 495.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1631, allocations: 0 / 495.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1631, allocations: 4 kB / 495.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/0.164, allocations: 0.6189 MB / 495.9 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1641, allocations: 124.5 kB / 496 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.1642, allocations: 3.984 kB / 496.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.1645, allocations: 23.98 kB / 496.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.1646, allocations: 27.91 kB / 496.1 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.1646, allocations: 12 kB / 496.1 MB, free: 6.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004209/0.165, allocations: 359.1 kB / 496.5 MB, free: 6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.165, allocations: 0 / 496.5 MB, free: 6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005882/0.1656, allocations: 127.9 kB / 496.6 MB, free: 5.875 MB / 366.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 (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.0003919/0.166, allocations: 179.6 kB / 496.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009002/0.1669, allocations: 0.5776 MB / 497.3 MB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.167, allocations: 8 kB / 497.4 MB, free: 5.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.1675, allocations: 411.2 kB / 497.8 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006777/0.1681, allocations: 89.56 kB / 497.8 MB, free: 4.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1696, allocations: 0.8816 MB / 498.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.17, allocations: 0.85 MB / 499.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00018/0.1702, allocations: 63.22 kB / 499.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.1703, allocations: 31.44 kB / 499.7 MB, free: 2.625 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1703, allocations: 0 / 499.7 MB, free: 2.625 MB / 366.1 MB Notification: Performance of Templates: time 0.01334/0.1837, allocations: 7.103 MB / 0.4949 GB, free: 11.62 MB / 382.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches