Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 99.08 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.7 MB / 246.4 MB, free: 9.703 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.18 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002813, allocations: 4 kB / 418.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 63.57 MB / 482.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002529/0.1424, allocations: 1.677 MB / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1438, allocations: 0.764 MB / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.1438, allocations: 0 / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1441, allocations: 51.73 kB / 484.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.1445, allocations: 119.5 kB / 485 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.1447, allocations: 51.86 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.1451, allocations: 378.5 kB / 485.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.795e-05/0.1452, allocations: 32.39 kB / 485.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.1454, allocations: 119.4 kB / 485.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.1457, allocations: 143.4 kB / 485.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1457, allocations: 8 kB / 485.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.1459, allocations: 127.8 kB / 485.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.146, allocations: 67.73 kB / 485.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.121e-05/0.1461, allocations: 65.58 kB / 486 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.1464, allocations: 247.5 kB / 486.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1464, allocations: 0 / 486.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1464, allocations: 0 / 486.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.1464, allocations: 0 / 486.2 MB, free: 0.6289 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000783/0.1472, allocations: 0.5224 MB / 486.8 MB, free: 60 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1473, allocations: 12.56 kB / 486.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.1474, allocations: 31.62 kB / 486.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.1476, allocations: 242.1 kB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.1477, allocations: 24.55 kB / 487.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.1477, allocations: 24 kB / 487.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.1484, allocations: 393.2 kB / 487.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1484, allocations: 4 kB / 487.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.1484, allocations: 15.98 kB / 487.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.1485, allocations: 24.64 kB / 487.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.1492, allocations: 418.3 kB / 487.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.1506, allocations: 0.8774 MB / 488.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.1512, allocations: 302.3 kB / 489.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.1514, allocations: 116.6 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.1514, allocations: 3.953 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1515, allocations: 38.55 kB / 489.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.1515, allocations: 0 / 489.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007545/0.1522, allocations: 375.6 kB / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1523, allocations: 51.41 kB / 489.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.1526, allocations: 347.3 kB / 490 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1527, allocations: 37.64 kB / 490.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1528, allocations: 156.2 kB / 490.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.1529, allocations: 55.36 kB / 490.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.1529, allocations: 4 kB / 490.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.153, allocations: 334.8 kB / 490.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.1533, allocations: 104.3 kB / 490.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1535, allocations: 154.6 kB / 490.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.1538, allocations: 127.8 kB / 491 MB, free: 11.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1538, allocations: 4 kB / 491 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000545/0.1543, allocations: 320.9 kB / 491.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1544, allocations: 7.953 kB / 491.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1544, allocations: 0 / 491.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1544, allocations: 7.984 kB / 491.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.1549, allocations: 111.9 kB / 491.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.1571, allocations: 3.708 MB / 495.1 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.1573, allocations: 31.95 kB / 495.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.1573, allocations: 16 kB / 495.2 MB, free: 7.336 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.1575, allocations: 173.7 kB / 495.3 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.1576, allocations: 27.67 kB / 495.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007157/0.1583, allocations: 365.5 kB / 495.7 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.1583, allocations: 0 / 495.7 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1583, allocations: 3.938 kB / 495.7 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1583, allocations: 3.938 kB / 495.7 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.1587, allocations: 313.4 kB / 496 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1587, allocations: 0 / 496 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.1592, allocations: 104 kB / 496.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.1592, allocations: 4 kB / 496.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.1592, allocations: 11.94 kB / 496.1 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.1613, allocations: 3.704 MB / 499.9 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1613, allocations: 4.094 kB / 499.9 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.1619, allocations: 375.3 kB / 0.4885 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.162, allocations: 100.8 kB / 0.4886 GB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.162, allocations: 11.95 kB / 0.4886 GB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1622, allocations: 11.98 kB / 0.4886 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.1622, allocations: 15.98 kB / 0.4886 GB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1623, allocations: 11.98 kB / 0.4886 GB, free: 1.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.1625, allocations: 253.9 kB / 0.4889 GB, free: 1.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1625, allocations: 0 / 0.4889 GB, free: 1.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.1629, allocations: 76.03 kB / 0.489 GB, free: 1.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002493/0.1632, allocations: 119.2 kB / 0.4891 GB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008621/0.164, allocations: 331.8 kB / 0.4894 GB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.164, allocations: 0 / 0.4894 GB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.1646, allocations: 210.5 kB / 0.4896 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.165, allocations: 60.17 kB / 0.4896 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1661, allocations: 0.6663 MB / 0.4903 GB, free: 164 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.1666, allocations: 0.8027 MB / 0.4911 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.1667, allocations: 70.2 kB / 0.4911 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.1668, allocations: 23.44 kB / 0.4912 GB, free: 15.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1668, allocations: 0 / 0.4912 GB, free: 15.24 MB / 382.1 MB Notification: Performance of Templates: time 0.009289/0.1761, allocations: 4.859 MB / 0.4959 GB, free: 10.45 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches