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.001046/0.001046, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007929/0.0007929, allocations: 99.48 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1783/0.1783, allocations: 45.15 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.377e-05/1.378e-05, allocations: 4 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.0958, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3748/0.4707, allocations: 100.9 MB / 0.6029 GB, free: 1.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.471, allocations: 92.62 kB / 0.603 GB, free: 1.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06174/0.5328, allocations: 24.57 MB / 0.627 GB, free: 13.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.5328, allocations: 4 kB / 0.627 GB, free: 13.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.5328, allocations: 12 kB / 0.627 GB, free: 13.08 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001053/0.5339, allocations: 0.7384 MB / 0.6277 GB, free: 12.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.5339, allocations: 12.03 kB / 0.6277 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.5343, allocations: 103.2 kB / 0.6278 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.5347, allocations: 310.4 kB / 0.6281 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.5347, allocations: 20 kB / 0.6281 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.5348, allocations: 28 kB / 0.6281 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005699/0.5354, allocations: 464.4 kB / 0.6286 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007872/0.5362, allocations: 0.6518 MB / 0.6292 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5362, allocations: 0 / 0.6292 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.5362, allocations: 0 / 0.6292 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.5363, allocations: 29.27 kB / 0.6292 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.5381, allocations: 1.526 MB / 0.6307 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.5385, allocations: 268.1 kB / 0.631 GB, free: 9.316 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.5386, allocations: 120.6 kB / 0.6311 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.5387, allocations: 8 kB / 0.6311 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.5387, allocations: 41.8 kB / 0.6312 GB, free: 9.148 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.246e-06/0.5388, allocations: 0 / 0.6312 GB, free: 9.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005728/0.5393, allocations: 293.5 kB / 0.6314 GB, free: 8.875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.5394, allocations: 110.1 kB / 0.6315 GB, free: 8.746 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.5397, allocations: 305 kB / 0.6318 GB, free: 8.496 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.5397, allocations: 25.7 kB / 0.6319 GB, free: 8.465 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.5399, allocations: 303.5 kB / 0.6321 GB, free: 8.203 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.54, allocations: 72.5 kB / 0.6322 GB, free: 8.141 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.54, allocations: 4.062 kB / 0.6322 GB, free: 8.137 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5401, allocations: 336.6 kB / 0.6325 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.5403, allocations: 154.9 kB / 0.6327 GB, free: 7.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.5407, allocations: 410 kB / 0.6331 GB, free: 7.191 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.541, allocations: 230.6 kB / 0.6333 GB, free: 6.996 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.541, allocations: 4 kB / 0.6333 GB, free: 6.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008103/0.5418, allocations: 0.548 MB / 0.6338 GB, free: 6.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.5418, allocations: 10.19 kB / 0.6338 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.702e-05/0.5419, allocations: 43.97 kB / 0.6339 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.542, allocations: 19.94 kB / 0.6339 GB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.5423, allocations: 77.58 kB / 0.634 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.5423, allocations: 24.12 kB / 0.634 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.5426, allocations: 59.56 kB / 0.6341 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.5427, allocations: 35.12 kB / 0.6341 GB, free: 6.234 MB / 426.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 () * 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.000176/0.5429, allocations: 141.7 kB / 0.6342 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/0.5429, allocations: 27.72 kB / 0.6343 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007468/0.5437, allocations: 419.5 kB / 0.6347 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.5437, allocations: 11.92 kB / 0.6347 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5437, allocations: 4 kB / 0.6347 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5437, allocations: 3.953 kB / 0.6347 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.5442, allocations: 366.1 kB / 0.635 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.475e-05/0.5443, allocations: 43.95 kB / 0.6351 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.5445, allocations: 31.84 kB / 0.6351 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.5445, allocations: 4 kB / 0.6351 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.5445, allocations: 11.98 kB / 0.6351 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5445, allocations: 0 / 0.6351 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5445, allocations: 7.938 kB / 0.6351 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.5451, allocations: 0.5577 MB / 0.6357 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.5452, allocations: 108.8 kB / 0.6358 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.5452, allocations: 0 / 0.6358 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.5455, allocations: 27.98 kB / 0.6358 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.5456, allocations: 23.72 kB / 0.6358 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.5456, allocations: 15.98 kB / 0.6358 GB, free: 4.477 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001936/0.5458, allocations: 211.8 kB / 0.636 GB, free: 4.305 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5458, allocations: 0 / 0.636 GB, free: 4.305 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009961/0.5468, allocations: 220.6 kB / 0.6362 GB, free: 4.098 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.0005495/0.5474, allocations: 320 kB / 0.6365 GB, free: 3.789 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006844/0.5481, allocations: 0.6637 MB / 0.6372 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5481, allocations: 0 / 0.6372 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.5484, allocations: 451.4 kB / 0.6376 GB, free: 2.598 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.5488, allocations: 33.88 kB / 0.6377 GB, free: 2.574 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.5501, allocations: 0.6849 MB / 0.6383 GB, free: 1.902 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.5506, allocations: 0.909 MB / 0.6392 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.5509, allocations: 95.06 kB / 0.6393 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.5509, allocations: 23.42 kB / 0.6393 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5509, allocations: 0 / 0.6393 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of Templates: time 0.01058/0.5615, allocations: 6.41 MB / 0.6456 GB, free: 10.49 MB / 442.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/jenkins/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