Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009628/0.0009628, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008361/0.0008359, allocations: 91.84 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1713/0.1713, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.761e-05, allocations: 4 kB / 451.9 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4792, allocations: 94.91 MB / 0.5944 GB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.4795, allocations: 103.8 kB / 0.5945 GB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03116/0.5107, allocations: 12.62 MB / 0.6068 GB, free: 13.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5107, allocations: 0 / 0.6068 GB, free: 13.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.5108, allocations: 8 kB / 0.6068 GB, free: 13.48 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0009007/0.5117, allocations: 0.6543 MB / 0.6075 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.5117, allocations: 8.031 kB / 0.6075 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.5118, allocations: 47.44 kB / 0.6075 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.5122, allocations: 306.3 kB / 0.6078 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.5123, allocations: 37 kB / 0.6079 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.5123, allocations: 40 kB / 0.6079 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008758/0.5132, allocations: 0.6207 MB / 0.6085 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5132, allocations: 3.938 kB / 0.6085 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.5133, allocations: 16 kB / 0.6085 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.5133, allocations: 24.94 kB / 0.6085 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.5139, allocations: 427.7 kB / 0.609 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.5159, allocations: 1.538 MB / 0.6105 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.5163, allocations: 267.8 kB / 0.6107 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.5165, allocations: 122.5 kB / 0.6108 GB, free: 9.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.5166, allocations: 15.94 kB / 0.6108 GB, free: 9.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.5166, allocations: 42.5 kB / 0.6109 GB, free: 9.113 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.5166, allocations: 0 / 0.6109 GB, free: 9.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.000629/0.5173, allocations: 310.3 kB / 0.6112 GB, free: 8.805 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.5173, allocations: 106.8 kB / 0.6113 GB, free: 8.676 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.5178, allocations: 491 kB / 0.6118 GB, free: 8.188 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.5179, allocations: 29.77 kB / 0.6118 GB, free: 8.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.518, allocations: 236 kB / 0.612 GB, free: 7.914 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.5181, allocations: 63.02 kB / 0.6121 GB, free: 7.852 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.5181, allocations: 8 kB / 0.6121 GB, free: 7.844 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5183, allocations: 358.8 kB / 0.6124 GB, free: 7.484 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.5185, allocations: 120 kB / 0.6125 GB, free: 7.363 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.5188, allocations: 251.7 kB / 0.6128 GB, free: 7.062 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.519, allocations: 169.2 kB / 0.6129 GB, free: 6.898 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5191, allocations: 0 / 0.6129 GB, free: 6.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006773/0.5197, allocations: 441 kB / 0.6134 GB, free: 6.461 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.5198, allocations: 11.94 kB / 0.6134 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.29e-05/0.5198, allocations: 39.95 kB / 0.6134 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5199, allocations: 11.94 kB / 0.6134 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.5201, allocations: 43.97 kB / 0.6135 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.5201, allocations: 11.92 kB / 0.6135 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.5205, allocations: 75.42 kB / 0.6135 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.5205, allocations: 19.98 kB / 0.6136 GB, free: 6.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * 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.0001086/0.5206, allocations: 128.9 kB / 0.6137 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.5207, allocations: 43.44 kB / 0.6137 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007457/0.5215, allocations: 437.7 kB / 0.6141 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.5215, allocations: 4 kB / 0.6141 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5215, allocations: 0 / 0.6141 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.5215, allocations: 7.984 kB / 0.6142 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.5221, allocations: 389.2 kB / 0.6145 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.445e-05/0.5221, allocations: 35.92 kB / 0.6146 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.5223, allocations: 35.95 kB / 0.6146 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5223, allocations: 0 / 0.6146 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.5223, allocations: 16 kB / 0.6146 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5224, allocations: 0 / 0.6146 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5224, allocations: 4 kB / 0.6146 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.523, allocations: 0.5695 MB / 0.6152 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5231, allocations: 136.5 kB / 0.6153 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.5231, allocations: 3.953 kB / 0.6153 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.5234, allocations: 23.98 kB / 0.6153 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.5235, allocations: 23.97 kB / 0.6153 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.5236, allocations: 15.98 kB / 0.6154 GB, free: 4.297 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003843/0.524, allocations: 381.1 kB / 0.6157 GB, free: 3.926 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.524, allocations: 4 kB / 0.6157 GB, free: 3.922 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005668/0.5245, allocations: 139.9 kB / 0.6159 GB, free: 3.785 MB / 426.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 () * 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.0003228/0.5249, allocations: 209.7 kB / 0.6161 GB, free: 3.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006687/0.5255, allocations: 0.607 MB / 0.6167 GB, free: 2.891 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5256, allocations: 0 / 0.6167 GB, free: 2.891 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.5259, allocations: 452.3 kB / 0.6171 GB, free: 2.375 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.5264, allocations: 111.1 kB / 0.6172 GB, free: 2.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.5277, allocations: 0.6802 MB / 0.6179 GB, free: 1.562 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.5281, allocations: 0.8743 MB / 0.6187 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.5283, allocations: 87.33 kB / 0.6188 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.5284, allocations: 27.44 kB / 0.6188 GB, free: 0.543 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5284, allocations: 0 / 0.6188 GB, free: 0.543 MB / 426.7 MB Notification: Performance of Templates: time 0.01239/0.5408, allocations: 8.389 MB / 0.627 GB, free: 8.242 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches