Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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_overall,tolerance=1e-05,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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009004/0.0009004, allocations: 199 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 226.6 MB / 243.1 MB, free: 14.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007139/0.0007139, allocations: 102.3 kB / 295.1 MB, free: 10 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1744/0.1744, allocations: 44.83 MB / 392 MB, free: 9.281 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002201/0.0002201, allocations: 8 kB / 464.8 MB, free: 49.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08817/0.0884, allocations: 62.95 MB / 0.5153 GB, free: 2.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002153/0.09059, allocations: 1.897 MB / 0.5172 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.178/0.2686, allocations: 1.925 MB / 0.5191 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.2688, allocations: 1.719 kB / 0.5191 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.2691, allocations: 57.61 kB / 0.5191 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.2693, allocations: 94.98 kB / 0.5192 GB, free: 9.789 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008841/0.2702, allocations: 360.5 kB / 0.5196 GB, free: 9.727 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.2707, allocations: 0.5545 MB / 0.5201 GB, free: 9.586 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.2708, allocations: 65.3 kB / 0.5202 GB, free: 9.566 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.2711, allocations: 175.4 kB / 0.5203 GB, free: 9.516 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.2713, allocations: 215.7 kB / 0.5205 GB, free: 9.461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.2713, allocations: 12.5 kB / 0.5206 GB, free: 9.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009592/0.2723, allocations: 0.6505 MB / 0.5212 GB, free: 9.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2724, allocations: 101.4 kB / 0.5213 GB, free: 9.406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.2725, allocations: 97.73 kB / 0.5214 GB, free: 9.355 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006425/0.2732, allocations: 0.566 MB / 0.5219 GB, free: 9.277 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2732, allocations: 0 / 0.5219 GB, free: 9.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2732, allocations: 5.656 kB / 0.5219 GB, free: 9.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2732, allocations: 0 / 0.5219 GB, free: 9.273 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00105/0.2742, allocations: 0.7589 MB / 0.5227 GB, free: 8.746 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2743, allocations: 9.266 kB / 0.5227 GB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/0.2747, allocations: 98.22 kB / 0.5228 GB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.275, allocations: 315.9 kB / 0.5231 GB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.2751, allocations: 45.03 kB / 0.5231 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.2751, allocations: 51.28 kB / 0.5232 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.2764, allocations: 0.7726 MB / 0.5239 GB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.2764, allocations: 0 / 0.5239 GB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.2765, allocations: 25.88 kB / 0.524 GB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.2765, allocations: 26.45 kB / 0.524 GB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009975/0.2775, allocations: 0.5784 MB / 0.5245 GB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.2796, allocations: 1.673 MB / 0.5262 GB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.2802, allocations: 312.5 kB / 0.5265 GB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.2805, allocations: 161.7 kB / 0.5266 GB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.2806, allocations: 12.19 kB / 0.5266 GB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.2806, allocations: 48.69 kB / 0.5267 GB, free: 7.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.2806, allocations: 1.219 kB / 0.5267 GB, free: 7.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001254/0.2819, allocations: 0.5312 MB / 0.5272 GB, free: 6.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.2819, allocations: 105.5 kB / 0.5273 GB, free: 6.828 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/0.2826, allocations: 0.6322 MB / 0.5279 GB, free: 6.574 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2826, allocations: 34.92 kB / 0.528 GB, free: 6.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2828, allocations: 291 kB / 0.5282 GB, free: 6.301 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.2828, allocations: 75.91 kB / 0.5283 GB, free: 6.246 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.2828, allocations: 5.438 kB / 0.5283 GB, free: 6.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.2829, allocations: 370.4 kB / 0.5287 GB, free: 5.902 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.2833, allocations: 208 kB / 0.5289 GB, free: 5.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.2839, allocations: 466 kB / 0.5293 GB, free: 5.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.2844, allocations: 281.3 kB / 0.5296 GB, free: 5.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.2844, allocations: 3.094 kB / 0.5296 GB, free: 5.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001208/0.2856, allocations: 0.7136 MB / 0.5303 GB, free: 5.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.2856, allocations: 9.641 kB / 0.5303 GB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-05/0.2857, allocations: 50.28 kB / 0.5303 GB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.2857, allocations: 13.72 kB / 0.5303 GB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.286, allocations: 79.16 kB / 0.5304 GB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.2861, allocations: 21.98 kB / 0.5304 GB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.2865, allocations: 106.6 kB / 0.5305 GB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.2866, allocations: 38.17 kB / 0.5306 GB, free: 5.105 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * 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.0002474/0.2868, allocations: 258.9 kB / 0.5308 GB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.2869, allocations: 44.86 kB / 0.5309 GB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008858/0.2878, allocations: 490.9 kB / 0.5313 GB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.2878, allocations: 5.031 kB / 0.5313 GB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2878, allocations: 1.281 kB / 0.5313 GB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2879, allocations: 2.859 kB / 0.5314 GB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.2884, allocations: 414.1 kB / 0.5317 GB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-05/0.2885, allocations: 40.42 kB / 0.5318 GB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.2887, allocations: 37.64 kB / 0.5318 GB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2887, allocations: 1.781 kB / 0.5318 GB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.2887, allocations: 14.44 kB / 0.5318 GB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.2887, allocations: 1.219 kB / 0.5318 GB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2887, allocations: 5.281 kB / 0.5318 GB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/0.2895, allocations: 0.6438 MB / 0.5325 GB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.2896, allocations: 128.9 kB / 0.5326 GB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.2897, allocations: 5.891 kB / 0.5326 GB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.29, allocations: 30.55 kB / 0.5326 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.2901, allocations: 22.42 kB / 0.5326 GB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.2901, allocations: 12.5 kB / 0.5327 GB, free: 3.977 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004567/0.2906, allocations: 445.6 kB / 0.5331 GB, free: 3.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2906, allocations: 1.031 kB / 0.5331 GB, free: 3.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000775/0.2914, allocations: 197.8 kB / 0.5333 GB, free: 3.758 MB / 346.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.0003949/0.2918, allocations: 237 kB / 0.5335 GB, free: 3.633 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.2928, allocations: 0.769 MB / 0.5343 GB, free: 3.176 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2928, allocations: 0 / 0.5343 GB, free: 3.176 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004402/0.2933, allocations: 0.4897 MB / 0.5347 GB, free: 2.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.294, allocations: 115.7 kB / 0.5348 GB, free: 2.727 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.2957, allocations: 1.111 MB / 0.5359 GB, free: 2.188 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.296, allocations: 0.8889 MB / 0.5368 GB, free: 1.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.57e-05/0.2962, allocations: 41.45 kB / 0.5368 GB, free: 1.457 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.2962, allocations: 3.938 kB / 0.5368 GB, free: 1.453 MB / 346.7 MB Notification: Performance of Templates: time 0.01468/0.3108, allocations: 10.06 MB / 0.5467 GB, free: 12.37 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches