Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001717/0.001717, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 97.78 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.314/0.314, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001194, allocations: 64.19 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2683, allocations: 62.01 MB / 0.5152 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.00259/0.2709, allocations: 1.973 MB / 0.5171 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2723, allocations: 1.145 MB / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.2724, allocations: 0 / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.2726, allocations: 44.61 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.2727, allocations: 56.36 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.2731, allocations: 168.1 kB / 0.5185 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.2733, allocations: 292.9 kB / 0.5188 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.2734, allocations: 31.09 kB / 0.5188 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.2736, allocations: 84.45 kB / 0.5189 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.2737, allocations: 111.1 kB / 0.519 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.2737, allocations: 7.5 kB / 0.519 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.2741, allocations: 247.8 kB / 0.5192 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.2741, allocations: 60.03 kB / 0.5193 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.407e-05/0.2742, allocations: 86.78 kB / 0.5194 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.2745, allocations: 327.6 kB / 0.5197 GB, free: 34.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2746, allocations: 4 kB / 0.5197 GB, free: 34.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2746, allocations: 0 / 0.5197 GB, free: 34.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2746, allocations: 0 / 0.5197 GB, free: 34.97 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007903/0.2754, allocations: 0.553 MB / 0.5202 GB, free: 34.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.2754, allocations: 8.656 kB / 0.5202 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003363/0.2757, allocations: 58.14 kB / 0.5203 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.2759, allocations: 219.7 kB / 0.5205 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.276, allocations: 14.22 kB / 0.5205 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.276, allocations: 20.83 kB / 0.5205 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.2764, allocations: 283.3 kB / 0.5208 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2764, allocations: 6.938 kB / 0.5208 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.2765, allocations: 4 kB / 0.5208 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.2765, allocations: 12.08 kB / 0.5208 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.277, allocations: 225.7 kB / 0.521 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/0.2778, allocations: 0.7679 MB / 0.5218 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.2783, allocations: 233.1 kB / 0.522 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.2786, allocations: 94.59 kB / 0.5221 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.2786, allocations: 10.3 kB / 0.5221 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.2786, allocations: 41.03 kB / 0.5221 GB, free: 33.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.2786, allocations: 3.938 kB / 0.5221 GB, free: 33.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008297/0.2795, allocations: 312 kB / 0.5224 GB, free: 33.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2795, allocations: 116.9 kB / 0.5225 GB, free: 33.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.2797, allocations: 274.9 kB / 0.5228 GB, free: 32.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2797, allocations: 25.7 kB / 0.5228 GB, free: 32.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.2798, allocations: 136.4 kB / 0.523 GB, free: 32.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.2798, allocations: 54.33 kB / 0.523 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.2799, allocations: 38.23 kB / 0.523 GB, free: 32.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.564e-05/0.2799, allocations: 333.8 kB / 0.5234 GB, free: 32.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.2802, allocations: 88.33 kB / 0.5235 GB, free: 32.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.2804, allocations: 126.6 kB / 0.5236 GB, free: 32.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.2809, allocations: 221.8 kB / 0.5238 GB, free: 32.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2809, allocations: 0 / 0.5238 GB, free: 32.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005436/0.2814, allocations: 262.2 kB / 0.524 GB, free: 32.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2815, allocations: 11.25 kB / 0.524 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.2815, allocations: 15.06 kB / 0.5241 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2815, allocations: 2.656 kB / 0.5241 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.2817, allocations: 33.55 kB / 0.5241 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2817, allocations: 7.266 kB / 0.5241 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.2819, allocations: 35.27 kB / 0.5241 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.2819, allocations: 8.328 kB / 0.5241 GB, free: 32.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.72e-05/0.282, allocations: 144.6 kB / 0.5243 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/0.2821, allocations: 34.14 kB / 0.5243 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004217/0.2825, allocations: 230.9 kB / 0.5245 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2825, allocations: 2.656 kB / 0.5245 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2826, allocations: 0 / 0.5245 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2826, allocations: 3.281 kB / 0.5245 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.2829, allocations: 258.4 kB / 0.5248 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.2829, allocations: 16.41 kB / 0.5248 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.2831, allocations: 29.58 kB / 0.5248 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2831, allocations: 3.938 kB / 0.5248 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.2831, allocations: 6.781 kB / 0.5248 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2831, allocations: 2.844 kB / 0.5248 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2831, allocations: 3.422 kB / 0.5248 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009055/0.284, allocations: 1.162 MB / 0.526 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.2841, allocations: 108.7 kB / 0.5261 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.2841, allocations: 96 / 0.5261 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.2843, allocations: 21.7 kB / 0.5261 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.2844, allocations: 16.31 kB / 0.5261 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2844, allocations: 9.031 kB / 0.5261 GB, free: 30.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.2846, allocations: 202.5 kB / 0.5263 GB, free: 30.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2846, allocations: 0 / 0.5263 GB, free: 30.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.2851, allocations: 79.95 kB / 0.5264 GB, free: 30.47 MB / 378.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002331/0.2853, allocations: 159.8 kB / 0.5266 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005528/0.2859, allocations: 283.5 kB / 0.5268 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2859, allocations: 2.75 kB / 0.5268 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.2862, allocations: 183 kB / 0.527 GB, free: 30.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.2867, allocations: 42.28 kB / 0.527 GB, free: 30.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007815/0.2875, allocations: 0.6569 MB / 0.5277 GB, free: 29.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.2876, allocations: 0.7625 MB / 0.5284 GB, free: 28.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.2878, allocations: 48.38 kB / 0.5285 GB, free: 28.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.2878, allocations: 18.98 kB / 0.5285 GB, free: 28.93 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2878, allocations: 0 / 0.5285 GB, free: 28.93 MB / 378.7 MB Notification: Performance of Templates: time 0.005995/0.2938, allocations: 3.768 MB / 0.5322 GB, free: 28.64 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches