Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.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.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.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.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008999/0.0008999, allocations: 180.5 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.4 MB / 223.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008324/0.0008324, allocations: 94.02 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2939/0.2939, allocations: 43.57 MB / 363.8 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 16 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 58.84 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3129/0.4234, allocations: 93.31 MB / 0.5711 GB, free: 8.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.4237, allocations: 99.92 kB / 0.5712 GB, free: 8.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03584/0.4596, allocations: 14.38 MB / 0.5852 GB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4596, allocations: 0 / 0.5852 GB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.4596, allocations: 8 kB / 0.5852 GB, free: 10.3 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00104/0.4607, allocations: 0.6239 MB / 0.5858 GB, free: 9.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4607, allocations: 8.031 kB / 0.5858 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.4609, allocations: 48.38 kB / 0.5859 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.4613, allocations: 295.6 kB / 0.5862 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.4613, allocations: 45.61 kB / 0.5862 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.4614, allocations: 48.38 kB / 0.5862 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009413/0.4624, allocations: 0.6355 MB / 0.5869 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.4624, allocations: 192 / 0.5869 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.4625, allocations: 23.92 kB / 0.5869 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/0.4625, allocations: 41.23 kB / 0.5869 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.4633, allocations: 0.4969 MB / 0.5874 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.4656, allocations: 1.406 MB / 0.5888 GB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.4663, allocations: 439.6 kB / 0.5892 GB, free: 6.051 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.4666, allocations: 143.9 kB / 0.5893 GB, free: 5.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/0.4667, allocations: 11.98 kB / 0.5894 GB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.4667, allocations: 46.42 kB / 0.5894 GB, free: 5.844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.104e-06/0.4667, allocations: 0 / 0.5894 GB, free: 5.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008922/0.4676, allocations: 0.4944 MB / 0.5899 GB, free: 5.344 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.4676, allocations: 55.41 kB / 0.5899 GB, free: 5.277 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.4682, allocations: 0.5407 MB / 0.5905 GB, free: 4.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.4683, allocations: 29.7 kB / 0.5905 GB, free: 4.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.4685, allocations: 220.6 kB / 0.5907 GB, free: 4.477 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.301e-05/0.4686, allocations: 90.73 kB / 0.5908 GB, free: 4.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.4686, allocations: 8 kB / 0.5908 GB, free: 4.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4687, allocations: 362.8 kB / 0.5911 GB, free: 4.016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.469, allocations: 148.2 kB / 0.5913 GB, free: 3.867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.4693, allocations: 264.6 kB / 0.5915 GB, free: 3.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/0.4728, allocations: 1.011 MB / 0.5925 GB, free: 2.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4728, allocations: 0 / 0.5925 GB, free: 2.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007942/0.4736, allocations: 0.4966 MB / 0.593 GB, free: 2.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4736, allocations: 4 kB / 0.593 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-05/0.4737, allocations: 44.39 kB / 0.5931 GB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4738, allocations: 11.94 kB / 0.5931 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.4739, allocations: 39.91 kB / 0.5931 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.474, allocations: 4 kB / 0.5931 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.4742, allocations: 55.38 kB / 0.5932 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.4743, allocations: 23.98 kB / 0.5932 GB, free: 1.836 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0003023/0.4746, allocations: 233.4 kB / 0.5934 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/0.4747, allocations: 43.47 kB / 0.5934 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009598/0.4757, allocations: 0.5284 MB / 0.594 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.4757, allocations: 4 kB / 0.594 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4757, allocations: 3.984 kB / 0.594 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4757, allocations: 4 kB / 0.594 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006242/0.4763, allocations: 425.2 kB / 0.5944 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.181e-05/0.4764, allocations: 39.98 kB / 0.5944 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.4766, allocations: 31.92 kB / 0.5945 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.4766, allocations: 8 kB / 0.5945 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.4766, allocations: 12 kB / 0.5945 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4766, allocations: 0 / 0.5945 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4766, allocations: 4 kB / 0.5945 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009966/0.4777, allocations: 0.7066 MB / 0.5952 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.4778, allocations: 136.4 kB / 0.5953 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.4779, allocations: 4 kB / 0.5953 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.4781, allocations: 4 kB / 0.5953 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.4781, allocations: 28.05 kB / 0.5953 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.4782, allocations: 19.98 kB / 0.5953 GB, free: 15.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004418/0.4786, allocations: 395 kB / 0.5957 GB, free: 15.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-07/0.4786, allocations: 0 / 0.5957 GB, free: 15.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005505/0.4792, allocations: 155.9 kB / 0.5959 GB, free: 14.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * 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.0003937/0.4796, allocations: 220.8 kB / 0.5961 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008381/0.4804, allocations: 0.672 MB / 0.5967 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4804, allocations: 0.8125 kB / 0.5967 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.4809, allocations: 492.2 kB / 0.5972 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.4814, allocations: 97.72 kB / 0.5973 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.4833, allocations: 1.147 MB / 0.5984 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.4837, allocations: 0.8783 MB / 0.5993 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4838, allocations: 35.44 kB / 0.5993 GB, free: 11.25 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4839, allocations: 0 / 0.5993 GB, free: 11.25 MB / 426.7 MB Notification: Performance of Templates: time 0.01209/0.496, allocations: 8.746 MB / 0.6079 GB, free: 2.531 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches