Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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.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_trunk_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000796/0.000796, allocations: 91.86 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3061/0.3061, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002781, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2827, allocations: 62.95 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.001572/0.2843, allocations: 1.615 MB / 0.5175 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2855, allocations: 1.059 MB / 0.5185 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.2856, allocations: 2.969 kB / 0.5185 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.2858, allocations: 60.84 kB / 0.5186 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.286, allocations: 91.7 kB / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.2863, allocations: 127.4 kB / 0.5188 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000363/0.2867, allocations: 0.5108 MB / 0.5193 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.2868, allocations: 55.98 kB / 0.5193 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.2869, allocations: 151.9 kB / 0.5195 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.2871, allocations: 198.7 kB / 0.5197 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.2871, allocations: 11.25 kB / 0.5197 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.2875, allocations: 255.5 kB / 0.5199 GB, free: 34.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.2876, allocations: 98.95 kB / 0.52 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.2877, allocations: 201.6 kB / 0.5202 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.2881, allocations: 412.2 kB / 0.5206 GB, free: 34.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2881, allocations: 0 / 0.5206 GB, free: 34.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2881, allocations: 0 / 0.5206 GB, free: 34.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.2881, allocations: 0 / 0.5206 GB, free: 34.33 MB / 378.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.0006927/0.2888, allocations: 0.6288 MB / 0.5212 GB, free: 33.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2888, allocations: 7.75 kB / 0.5212 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.2889, allocations: 47.75 kB / 0.5213 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.2892, allocations: 293.3 kB / 0.5215 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.2893, allocations: 38.34 kB / 0.5216 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.2893, allocations: 56.16 kB / 0.5216 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007002/0.29, allocations: 0.6312 MB / 0.5222 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2901, allocations: 0 / 0.5222 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.2901, allocations: 21.88 kB / 0.5223 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.2901, allocations: 34 kB / 0.5223 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.2908, allocations: 0.5022 MB / 0.5228 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.2927, allocations: 1.412 MB / 0.5242 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.2933, allocations: 432.4 kB / 0.5246 GB, free: 32.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.2936, allocations: 142 kB / 0.5247 GB, free: 32.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.2936, allocations: 20.88 kB / 0.5247 GB, free: 32.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.2937, allocations: 41.53 kB / 0.5248 GB, free: 32.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.2937, allocations: 0 / 0.5248 GB, free: 32.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007766/0.2944, allocations: 0.4889 MB / 0.5253 GB, free: 32.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.2945, allocations: 60.5 kB / 0.5253 GB, free: 32.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.295, allocations: 0.5437 MB / 0.5258 GB, free: 31.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.295, allocations: 29.7 kB / 0.5259 GB, free: 31.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.2951, allocations: 218.9 kB / 0.5261 GB, free: 31.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.2952, allocations: 88.14 kB / 0.5262 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.2952, allocations: 10.75 kB / 0.5262 GB, free: 31.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2953, allocations: 357.9 kB / 0.5265 GB, free: 31.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.2956, allocations: 153.1 kB / 0.5267 GB, free: 31.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.2958, allocations: 258.1 kB / 0.5269 GB, free: 31.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/0.2991, allocations: 1.015 MB / 0.5279 GB, free: 30.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2991, allocations: 0 / 0.5279 GB, free: 30.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006951/0.2998, allocations: 0.4978 MB / 0.5284 GB, free: 30.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2998, allocations: 5.594 kB / 0.5284 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-05/0.2999, allocations: 47.16 kB / 0.5284 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2999, allocations: 5.406 kB / 0.5284 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3001, allocations: 39.8 kB / 0.5285 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3001, allocations: 5.812 kB / 0.5285 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.3004, allocations: 57.19 kB / 0.5285 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.3004, allocations: 25.5 kB / 0.5286 GB, free: 30.7 MB / 378.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.0002648/0.3007, allocations: 225.4 kB / 0.5288 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.3008, allocations: 37.25 kB / 0.5288 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000838/0.3016, allocations: 0.5368 MB / 0.5293 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.3016, allocations: 2.781 kB / 0.5293 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3017, allocations: 2.656 kB / 0.5293 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3017, allocations: 3.422 kB / 0.5293 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.3021, allocations: 426.3 kB / 0.5298 GB, free: 30.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-05/0.3022, allocations: 40.33 kB / 0.5298 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3024, allocations: 26.78 kB / 0.5298 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3024, allocations: 6.938 kB / 0.5298 GB, free: 30.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.3024, allocations: 12.92 kB / 0.5298 GB, free: 30.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.3024, allocations: 2.938 kB / 0.5298 GB, free: 30.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3024, allocations: 0 / 0.5298 GB, free: 30.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.3034, allocations: 0.7049 MB / 0.5305 GB, free: 29.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.3035, allocations: 129.4 kB / 0.5307 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.3035, allocations: 6.875 kB / 0.5307 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.3037, allocations: 10.84 kB / 0.5307 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.3038, allocations: 24.12 kB / 0.5307 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.3038, allocations: 13.83 kB / 0.5307 GB, free: 29.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003582/0.3042, allocations: 402.5 kB / 0.5311 GB, free: 29.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3042, allocations: 3.938 kB / 0.5311 GB, free: 29.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004694/0.3047, allocations: 142.6 kB / 0.5312 GB, free: 29.49 MB / 378.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.0002815/0.3049, allocations: 169.8 kB / 0.5314 GB, free: 29.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006012/0.3055, allocations: 0.6757 MB / 0.5321 GB, free: 28.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3056, allocations: 128 / 0.5321 GB, free: 28.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.3059, allocations: 491.4 kB / 0.5325 GB, free: 28.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.3064, allocations: 89.7 kB / 0.5326 GB, free: 28.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.3079, allocations: 1.143 MB / 0.5337 GB, free: 27.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.3082, allocations: 0.8794 MB / 0.5346 GB, free: 27.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.158e-05/0.3083, allocations: 33.25 kB / 0.5346 GB, free: 27.21 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3083, allocations: 4 kB / 0.5346 GB, free: 27.2 MB / 378.7 MB Notification: Performance of Templates: time 0.0147/0.323, allocations: 8.363 MB / 0.5428 GB, free: 25.57 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches