Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_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.00116/0.00116, 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.489/1.489, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009954/0.0009954, allocations: 100.9 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3127/0.3127, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2866, allocations: 62.02 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002759/0.2894, allocations: 2.141 MB / 0.5173 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.291, allocations: 1.328 MB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.291, allocations: 3.938 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.2913, allocations: 58.88 kB / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.2915, allocations: 73.52 kB / 0.5187 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.2919, allocations: 166 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.2923, allocations: 0.5099 MB / 0.5193 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.121e-05/0.2923, allocations: 48.66 kB / 0.5194 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.2925, allocations: 147.2 kB / 0.5195 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.2927, allocations: 181.4 kB / 0.5197 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.2928, allocations: 12 kB / 0.5197 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.2931, allocations: 260.3 kB / 0.52 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.2932, allocations: 87.8 kB / 0.52 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.2933, allocations: 161.9 kB / 0.5202 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.2937, allocations: 0.5146 MB / 0.5207 GB, free: 34.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2938, allocations: 0 / 0.5207 GB, free: 34.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.2938, allocations: 2.812 kB / 0.5207 GB, free: 34.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2938, allocations: 0 / 0.5207 GB, free: 34.46 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.0009216/0.2947, allocations: 0.7107 MB / 0.5214 GB, free: 33.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2947, allocations: 11.31 kB / 0.5214 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.2951, allocations: 74.34 kB / 0.5215 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.2954, allocations: 297.2 kB / 0.5218 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.2954, allocations: 31.72 kB / 0.5218 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.2955, allocations: 37.12 kB / 0.5218 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.2962, allocations: 0.5554 MB / 0.5224 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2963, allocations: 0 / 0.5224 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.2963, allocations: 18.17 kB / 0.5224 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.2963, allocations: 15.97 kB / 0.5224 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.297, allocations: 409 kB / 0.5228 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.2985, allocations: 1.279 MB / 0.524 GB, free: 32.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.2989, allocations: 279.2 kB / 0.5243 GB, free: 32.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.2992, allocations: 142.6 kB / 0.5244 GB, free: 32.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.2992, allocations: 9.469 kB / 0.5245 GB, free: 32.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.2993, allocations: 42.5 kB / 0.5245 GB, free: 32.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.2993, allocations: 2.469 kB / 0.5245 GB, free: 32.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001037/0.3003, allocations: 475.3 kB / 0.525 GB, free: 32.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.3003, allocations: 105.4 kB / 0.5251 GB, free: 32.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.3007, allocations: 0.4916 MB / 0.5255 GB, free: 31.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3008, allocations: 28.61 kB / 0.5256 GB, free: 31.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.3009, allocations: 213.8 kB / 0.5258 GB, free: 31.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.3009, allocations: 54.06 kB / 0.5258 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.015e-05/0.301, allocations: 61.89 kB / 0.5259 GB, free: 31.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.3011, allocations: 358.8 kB / 0.5262 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.3014, allocations: 129.9 kB / 0.5263 GB, free: 31.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.3017, allocations: 208.7 kB / 0.5265 GB, free: 31.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.3023, allocations: 376.1 kB / 0.5269 GB, free: 30.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3023, allocations: 4 kB / 0.5269 GB, free: 30.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007176/0.303, allocations: 417.5 kB / 0.5273 GB, free: 30.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.303, allocations: 8.906 kB / 0.5273 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-05/0.3031, allocations: 35.19 kB / 0.5273 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3031, allocations: 6.156 kB / 0.5273 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.3033, allocations: 33.89 kB / 0.5274 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3033, allocations: 6.219 kB / 0.5274 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.3035, allocations: 50.64 kB / 0.5274 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.3036, allocations: 14.97 kB / 0.5274 GB, free: 30.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.3037, allocations: 205.1 kB / 0.5276 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/0.3038, allocations: 36.44 kB / 0.5277 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007033/0.3045, allocations: 411.2 kB / 0.5281 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.3046, allocations: 2.844 kB / 0.5281 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3046, allocations: 6.797 kB / 0.5281 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3046, allocations: 0 / 0.5281 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.305, allocations: 364.5 kB / 0.5284 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.381e-05/0.305, allocations: 30.3 kB / 0.5285 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.3052, allocations: 21.08 kB / 0.5285 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3052, allocations: 6.719 kB / 0.5285 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.3052, allocations: 9.875 kB / 0.5285 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3052, allocations: 6.938 kB / 0.5285 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3052, allocations: 7.359 kB / 0.5285 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.3064, allocations: 1.369 MB / 0.5298 GB, free: 29.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-05/0.3065, allocations: 130.6 kB / 0.53 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.3065, allocations: 2.625 kB / 0.53 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.3068, allocations: 17.59 kB / 0.53 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.3069, allocations: 22 kB / 0.53 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.3069, allocations: 11.84 kB / 0.53 GB, free: 29.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002917/0.3072, allocations: 370.4 kB / 0.5304 GB, free: 28.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3072, allocations: 0 / 0.5304 GB, free: 28.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005926/0.3078, allocations: 119.1 kB / 0.5305 GB, free: 28.95 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 (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.0003537/0.3082, allocations: 171 kB / 0.5306 GB, free: 28.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007394/0.3089, allocations: 0.5439 MB / 0.5312 GB, free: 28.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3089, allocations: 0 / 0.5312 GB, free: 28.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.3093, allocations: 388.4 kB / 0.5316 GB, free: 28.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.3099, allocations: 94.44 kB / 0.5316 GB, free: 28.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3111, allocations: 1.026 MB / 0.5326 GB, free: 27.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.3114, allocations: 0.854 MB / 0.5335 GB, free: 26.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.3115, allocations: 70.08 kB / 0.5335 GB, free: 26.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.3116, allocations: 26.42 kB / 0.5336 GB, free: 26.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3116, allocations: 0 / 0.5336 GB, free: 26.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01329/0.3249, allocations: 7.355 MB / 0.5408 GB, free: 25.68 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches