Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 227.2 MB / 245 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008134/0.0008135, allocations: 100.8 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3129/0.3129, allocations: 45.23 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002609/0.0002609, allocations: 8 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3283, allocations: 63.23 MB / 0.5192 GB, free: 43.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.4439, allocations: 96.05 MB / 0.613 GB, free: 9.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.4443, allocations: 98.23 kB / 0.6131 GB, free: 9.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03255/0.4768, allocations: 12.73 MB / 0.6255 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4769, allocations: 0 / 0.6255 GB, free: 12.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.4769, allocations: 4 kB / 0.6255 GB, free: 12.64 MB / 442.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.001216/0.4781, allocations: 0.6835 MB / 0.6262 GB, free: 11.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4782, allocations: 8.031 kB / 0.6262 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/0.4786, allocations: 95.34 kB / 0.6263 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.4791, allocations: 292.2 kB / 0.6266 GB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.4792, allocations: 40.94 kB / 0.6266 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.4793, allocations: 44 kB / 0.6267 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.4804, allocations: 0.6636 MB / 0.6273 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4804, allocations: 0 / 0.6273 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/0.4804, allocations: 20 kB / 0.6273 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/0.4805, allocations: 24.98 kB / 0.6273 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.4814, allocations: 0.4995 MB / 0.6278 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.4836, allocations: 1.539 MB / 0.6293 GB, free: 8.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.4842, allocations: 315.5 kB / 0.6296 GB, free: 8.234 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.4843, allocations: 8 kB / 0.6296 GB, free: 8.227 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.4843, allocations: 46.48 kB / 0.6297 GB, free: 8.172 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.4843, allocations: 0 / 0.6297 GB, free: 8.172 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001377/0.4857, allocations: 0.7525 MB / 0.6304 GB, free: 7.359 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.4858, allocations: 106.8 kB / 0.6305 GB, free: 7.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.4863, allocations: 0.4929 MB / 0.631 GB, free: 6.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.4863, allocations: 25.7 kB / 0.631 GB, free: 6.699 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.4865, allocations: 232.1 kB / 0.6313 GB, free: 6.469 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.4866, allocations: 67.02 kB / 0.6313 GB, free: 6.402 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.4866, allocations: 8.031 kB / 0.6313 GB, free: 6.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4867, allocations: 354.8 kB / 0.6317 GB, free: 6.039 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.4871, allocations: 168.1 kB / 0.6318 GB, free: 5.871 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.4875, allocations: 284.7 kB / 0.6321 GB, free: 5.539 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.4879, allocations: 207.7 kB / 0.6323 GB, free: 5.336 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4879, allocations: 7.938 kB / 0.6323 GB, free: 5.328 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009343/0.4888, allocations: 0.5149 MB / 0.6328 GB, free: 4.809 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4889, allocations: 8 kB / 0.6328 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.239e-05/0.4889, allocations: 35.97 kB / 0.6328 GB, free: 4.766 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4889, allocations: 8 kB / 0.6329 GB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.4892, allocations: 51.89 kB / 0.6329 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.4892, allocations: 4.125 kB / 0.6329 GB, free: 4.703 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.4895, allocations: 79.34 kB / 0.633 GB, free: 4.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.4896, allocations: 23.94 kB / 0.633 GB, free: 4.602 MB / 442.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 () * Number of clocked 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.000229/0.4898, allocations: 210.2 kB / 0.6332 GB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.4899, allocations: 39.53 kB / 0.6332 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008433/0.4908, allocations: 460.8 kB / 0.6337 GB, free: 3.895 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.4908, allocations: 4 kB / 0.6337 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.4908, allocations: 4 kB / 0.6337 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4908, allocations: 0 / 0.6337 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005564/0.4914, allocations: 401.1 kB / 0.6341 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.599e-05/0.4914, allocations: 39.97 kB / 0.6341 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.4916, allocations: 31.97 kB / 0.6341 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.4916, allocations: 0 / 0.6341 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.4917, allocations: 11.98 kB / 0.6342 GB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4917, allocations: 3.938 kB / 0.6342 GB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4917, allocations: 4 kB / 0.6342 GB, free: 3.355 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008602/0.4925, allocations: 0.6573 MB / 0.6348 GB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.4927, allocations: 120.6 kB / 0.6349 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.4927, allocations: 3.984 kB / 0.6349 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.4931, allocations: 27.98 kB / 0.6349 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.4932, allocations: 23.97 kB / 0.635 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.4932, allocations: 15.98 kB / 0.635 GB, free: 2.461 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004036/0.4936, allocations: 387 kB / 0.6354 GB, free: 2.086 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.363e-06/0.4936, allocations: 0 / 0.6354 GB, free: 2.086 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006172/0.4943, allocations: 155.7 kB / 0.6355 GB, free: 1.934 MB / 442.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.0003985/0.4947, allocations: 209.9 kB / 0.6357 GB, free: 1.723 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009751/0.4956, allocations: 0.6863 MB / 0.6364 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4957, allocations: 0 / 0.6364 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.4962, allocations: 0.4886 MB / 0.6368 GB, free: 412 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.4967, allocations: 110.4 kB / 0.637 GB, free: 300 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.4983, allocations: 0.9918 MB / 0.6379 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.4987, allocations: 0.874 MB / 0.6388 GB, free: 14.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.4989, allocations: 79.34 kB / 0.6389 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.499, allocations: 31.42 kB / 0.6389 GB, free: 14.26 MB / 458.7 MB Notification: Performance of SimCode: time 3e-07/0.499, allocations: 4 kB / 0.6389 GB, free: 14.25 MB / 458.7 MB Notification: Performance of Templates: time 0.01293/0.5119, allocations: 8.261 MB / 0.647 GB, free: 6.098 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches