Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001723/0.001723, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 226.6 MB / 243.4 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000749/0.0007491, allocations: 108.1 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2818/0.2818, allocations: 44.81 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002869, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2673, allocations: 62.97 MB / 0.5159 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.001638/0.269, allocations: 1.74 MB / 0.5176 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2703, allocations: 1.193 MB / 0.5188 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.2704, allocations: 2.906 kB / 0.5188 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.2706, allocations: 47.69 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.2707, allocations: 90.78 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.2711, allocations: 145 kB / 0.519 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.2715, allocations: 474.2 kB / 0.5195 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.712e-05/0.2716, allocations: 46.94 kB / 0.5195 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.2717, allocations: 140.6 kB / 0.5197 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2719, allocations: 183.4 kB / 0.5198 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.2719, allocations: 10.81 kB / 0.5198 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.2723, allocations: 253.1 kB / 0.5201 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.656e-05/0.2724, allocations: 85.06 kB / 0.5202 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.2725, allocations: 173.1 kB / 0.5203 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.2728, allocations: 380.6 kB / 0.5207 GB, free: 34.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2729, allocations: 2.812 kB / 0.5207 GB, free: 34.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2729, allocations: 0 / 0.5207 GB, free: 34.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2729, allocations: 0 / 0.5207 GB, free: 34.43 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.000783/0.2737, allocations: 0.6592 MB / 0.5213 GB, free: 33.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.2737, allocations: 14.03 kB / 0.5214 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/0.274, allocations: 85.92 kB / 0.5214 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.2743, allocations: 290 kB / 0.5217 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2743, allocations: 27.5 kB / 0.5217 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.2744, allocations: 40.06 kB / 0.5218 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/0.2751, allocations: 0.5643 MB / 0.5223 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2751, allocations: 0 / 0.5223 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.2751, allocations: 22 kB / 0.5224 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.2752, allocations: 18.81 kB / 0.5224 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/0.2758, allocations: 435.9 kB / 0.5228 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2772, allocations: 1.283 MB / 0.524 GB, free: 32.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.2776, allocations: 307.5 kB / 0.5243 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.2779, allocations: 168.5 kB / 0.5245 GB, free: 32.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.278, allocations: 2.094 kB / 0.5245 GB, free: 32.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.278, allocations: 41.02 kB / 0.5245 GB, free: 32.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 2.094e-06/0.278, allocations: 0 / 0.5245 GB, free: 32.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001029/0.279, allocations: 0.5278 MB / 0.5251 GB, free: 32.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.2791, allocations: 110.8 kB / 0.5252 GB, free: 32.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.2795, allocations: 0.4897 MB / 0.5256 GB, free: 31.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2795, allocations: 25.77 kB / 0.5257 GB, free: 31.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.2796, allocations: 215.4 kB / 0.5259 GB, free: 31.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.2796, allocations: 61.77 kB / 0.5259 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.2797, allocations: 3.938 kB / 0.5259 GB, free: 31.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.2797, allocations: 354.6 kB / 0.5263 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.28, allocations: 154.3 kB / 0.5264 GB, free: 31.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.2803, allocations: 231.5 kB / 0.5266 GB, free: 31.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006145/0.281, allocations: 420.1 kB / 0.527 GB, free: 30.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.281, allocations: 2.625 kB / 0.527 GB, free: 30.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007201/0.2817, allocations: 463.6 kB / 0.5275 GB, free: 30.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2817, allocations: 5.812 kB / 0.5275 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.415e-05/0.2818, allocations: 38.55 kB / 0.5275 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2818, allocations: 9.875 kB / 0.5275 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.282, allocations: 35.14 kB / 0.5276 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.282, allocations: 6.938 kB / 0.5276 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.2823, allocations: 60.11 kB / 0.5276 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.2823, allocations: 22.09 kB / 0.5276 GB, free: 30.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001567/0.2825, allocations: 202.2 kB / 0.5278 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.2825, allocations: 37.12 kB / 0.5279 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006751/0.2832, allocations: 438.3 kB / 0.5283 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.2832, allocations: 2.844 kB / 0.5283 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2832, allocations: 3.938 kB / 0.5283 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2833, allocations: 6.125 kB / 0.5283 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.2837, allocations: 369.1 kB / 0.5287 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.821e-05/0.2837, allocations: 32.98 kB / 0.5287 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.2839, allocations: 34.66 kB / 0.5287 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2839, allocations: 7.219 kB / 0.5287 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.2839, allocations: 12.38 kB / 0.5287 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2839, allocations: 3.938 kB / 0.5287 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2839, allocations: 0 / 0.5287 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007153/0.2847, allocations: 0.6279 MB / 0.5294 GB, free: 29.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.2848, allocations: 125.1 kB / 0.5295 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.2848, allocations: 6.531 kB / 0.5295 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.2851, allocations: 22.91 kB / 0.5295 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.2851, allocations: 16.48 kB / 0.5295 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.2852, allocations: 11.5 kB / 0.5295 GB, free: 29.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003025/0.2855, allocations: 370 kB / 0.5299 GB, free: 29.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2855, allocations: 0 / 0.5299 GB, free: 29.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.286, allocations: 125.9 kB / 0.53 GB, free: 29.57 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002886/0.2863, allocations: 170.6 kB / 0.5302 GB, free: 29.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007172/0.287, allocations: 0.5794 MB / 0.5307 GB, free: 29.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2871, allocations: 3.469 kB / 0.5307 GB, free: 29.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.2874, allocations: 417.4 kB / 0.5311 GB, free: 28.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.2881, allocations: 93.58 kB / 0.5312 GB, free: 28.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.2891, allocations: 0.8945 MB / 0.5321 GB, free: 28.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.2894, allocations: 0.8386 MB / 0.5329 GB, free: 27.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.2894, allocations: 27.95 kB / 0.5329 GB, free: 27.59 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2895, allocations: 0 / 0.5329 GB, free: 27.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01022/0.2997, allocations: 7.42 MB / 0.5402 GB, free: 26.6 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches