Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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.|m_flow.1.|m_flow.2.|m_flow.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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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.|m_flow.1.|m_flow.2.|m_flow.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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007582/0.0007582, allocations: 95.59 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3767/0.3767, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 8.219 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4105, allocations: 62.96 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.5466, allocations: 101.5 MB / 0.6176 GB, free: 3.766 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.547, allocations: 99.92 kB / 0.6177 GB, free: 3.672 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06625/0.6133, allocations: 24.79 MB / 0.6419 GB, free: 10.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.222e-06/0.6133, allocations: 4 kB / 0.6419 GB, free: 10.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.463e-05/0.6134, allocations: 4 kB / 0.6419 GB, free: 10.66 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001838/0.6152, allocations: 0.7682 MB / 0.6426 GB, free: 9.836 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/0.6153, allocations: 8.031 kB / 0.6426 GB, free: 9.828 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005369/0.6159, allocations: 96.23 kB / 0.6427 GB, free: 9.734 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.6166, allocations: 315.9 kB / 0.643 GB, free: 9.387 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.6166, allocations: 45.69 kB / 0.6431 GB, free: 9.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.6167, allocations: 52.38 kB / 0.6431 GB, free: 9.289 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.6181, allocations: 0.7858 MB / 0.6439 GB, free: 8.484 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.6182, allocations: 192 / 0.6439 GB, free: 8.484 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.6182, allocations: 23.94 kB / 0.6439 GB, free: 8.461 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.516e-05/0.6183, allocations: 33.23 kB / 0.6439 GB, free: 8.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.6194, allocations: 0.5672 MB / 0.6445 GB, free: 7.863 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.6222, allocations: 1.68 MB / 0.6461 GB, free: 6.113 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.6228, allocations: 311.5 kB / 0.6464 GB, free: 5.781 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.6231, allocations: 169.8 kB / 0.6466 GB, free: 5.609 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-05/0.6232, allocations: 11.98 kB / 0.6466 GB, free: 5.598 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.6233, allocations: 42.5 kB / 0.6466 GB, free: 5.547 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 2.525e-06/0.6233, allocations: 0 / 0.6466 GB, free: 5.547 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.001335/0.6246, allocations: 0.5322 MB / 0.6472 GB, free: 5.008 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.6247, allocations: 110.8 kB / 0.6473 GB, free: 4.875 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000769/0.6255, allocations: 0.6314 MB / 0.6479 GB, free: 4.238 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.6255, allocations: 29.7 kB / 0.6479 GB, free: 4.203 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.6258, allocations: 283.5 kB / 0.6482 GB, free: 3.922 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.071e-05/0.6258, allocations: 78.88 kB / 0.6483 GB, free: 3.844 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.6259, allocations: 12 kB / 0.6483 GB, free: 3.832 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.6261, allocations: 358.8 kB / 0.6486 GB, free: 3.473 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.6265, allocations: 212.9 kB / 0.6488 GB, free: 3.266 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.6271, allocations: 469.4 kB / 0.6493 GB, free: 2.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.6282, allocations: 0.6906 MB / 0.6499 GB, free: 1.859 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.6282, allocations: 4 kB / 0.6499 GB, free: 1.855 MB / 458.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001319/0.6296, allocations: 0.7103 MB / 0.6506 GB, free: 1.141 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.6296, allocations: 8 kB / 0.6506 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-05/0.6297, allocations: 51.98 kB / 0.6507 GB, free: 1.082 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.6297, allocations: 12 kB / 0.6507 GB, free: 1.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.6301, allocations: 84.2 kB / 0.6508 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/0.6301, allocations: 27.86 kB / 0.6508 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.6306, allocations: 83.27 kB / 0.6509 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.6307, allocations: 35.98 kB / 0.6509 GB, free: 0.8438 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003579/0.631, allocations: 261.5 kB / 0.6512 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.6312, allocations: 43.44 kB / 0.6512 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009486/0.6321, allocations: 481.5 kB / 0.6517 GB, free: 52 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.6321, allocations: 7.938 kB / 0.6517 GB, free: 44 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.6322, allocations: 7.938 kB / 0.6517 GB, free: 36 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6322, allocations: 0 / 0.6517 GB, free: 36 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000858/0.633, allocations: 409.3 kB / 0.6521 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-05/0.6331, allocations: 40 kB / 0.6521 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.6333, allocations: 35.97 kB / 0.6522 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.6333, allocations: 7.984 kB / 0.6522 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.6334, allocations: 12 kB / 0.6522 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6334, allocations: 0 / 0.6522 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.6334, allocations: 3.938 kB / 0.6522 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009552/0.6343, allocations: 0.646 MB / 0.6528 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.6345, allocations: 132.4 kB / 0.6529 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-05/0.6346, allocations: 4 kB / 0.6529 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.6349, allocations: 27.97 kB / 0.653 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.635, allocations: 31.91 kB / 0.653 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.6351, allocations: 16 kB / 0.653 GB, free: 14.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005148/0.6356, allocations: 442.7 kB / 0.6534 GB, free: 14.17 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.186e-06/0.6356, allocations: 0 / 0.6534 GB, free: 14.17 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009682/0.6366, allocations: 219.7 kB / 0.6536 GB, free: 13.95 MB / 474.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0007838/0.6374, allocations: 304.2 kB / 0.6539 GB, free: 13.65 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.6386, allocations: 0.782 MB / 0.6547 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6386, allocations: 0 / 0.6547 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.6392, allocations: 496.3 kB / 0.6552 GB, free: 12.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/0.6401, allocations: 114.3 kB / 0.6553 GB, free: 12.13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.6423, allocations: 1.094 MB / 0.6563 GB, free: 11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.643, allocations: 0.8935 MB / 0.6572 GB, free: 10.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003821/0.6434, allocations: 128.5 kB / 0.6573 GB, free: 9.953 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.6434, allocations: 31.44 kB / 0.6574 GB, free: 9.922 MB / 474.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6434, allocations: 0 / 0.6574 GB, free: 9.922 MB / 474.7 MB Notification: Performance of Templates: time 0.0194/0.6628, allocations: 10.57 MB / 0.6677 GB, free: 15.46 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches