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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009144/0.0009144, allocations: 204.1 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007183/0.0007184, allocations: 96.23 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1825/0.1825, allocations: 44.83 MB / 392 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002427/0.0002427, allocations: 7.984 kB / 464.8 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08528, allocations: 62.95 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.001861/0.08717, allocations: 1.666 MB / 0.517 GB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.08817, allocations: 0.7679 MB / 0.5177 GB, free: 312 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.08824, allocations: 0 / 0.5177 GB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.08845, allocations: 55.73 kB / 0.5178 GB, free: 256 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.0887, allocations: 103.5 kB / 0.5179 GB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.08888, allocations: 63.78 kB / 0.5179 GB, free: 88 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1524/0.2413, allocations: 362.4 kB / 0.5183 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.202e-05/0.2414, allocations: 32.88 kB / 0.5183 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.2417, allocations: 125.8 kB / 0.5184 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.2419, allocations: 147.1 kB / 0.5186 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.2419, allocations: 6.844 kB / 0.5186 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.2422, allocations: 120.3 kB / 0.5187 GB, free: 9.809 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.2423, allocations: 68.95 kB / 0.5188 GB, free: 9.793 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.2423, allocations: 63.36 kB / 0.5188 GB, free: 9.754 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.2426, allocations: 256.2 kB / 0.5191 GB, free: 9.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2426, allocations: 0 / 0.5191 GB, free: 9.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2426, allocations: 0 / 0.5191 GB, free: 9.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2427, allocations: 1.344 kB / 0.5191 GB, free: 9.719 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0006302/0.2433, allocations: 0.5141 MB / 0.5196 GB, free: 9.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.2433, allocations: 8.781 kB / 0.5196 GB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.2434, allocations: 30.91 kB / 0.5196 GB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.2436, allocations: 245.5 kB / 0.5198 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.2436, allocations: 21.38 kB / 0.5199 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.2437, allocations: 25.42 kB / 0.5199 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/0.2443, allocations: 403.3 kB / 0.5203 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2443, allocations: 4 kB / 0.5203 GB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.2443, allocations: 17.2 kB / 0.5203 GB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-05/0.2444, allocations: 26.78 kB / 0.5203 GB, free: 9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.245, allocations: 416.1 kB / 0.5207 GB, free: 9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.2461, allocations: 0.8693 MB / 0.5216 GB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.2467, allocations: 307.2 kB / 0.5219 GB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.2469, allocations: 110.6 kB / 0.522 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.247, allocations: 9.625 kB / 0.522 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.247, allocations: 33.17 kB / 0.522 GB, free: 8.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.247, allocations: 5.969 kB / 0.522 GB, free: 8.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007181/0.2477, allocations: 368.9 kB / 0.5224 GB, free: 8.508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.2477, allocations: 53.38 kB / 0.5224 GB, free: 8.445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.248, allocations: 356 kB / 0.5227 GB, free: 8.336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2481, allocations: 30.39 kB / 0.5228 GB, free: 8.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.2481, allocations: 163.9 kB / 0.5229 GB, free: 8.203 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.2482, allocations: 45.09 kB / 0.523 GB, free: 8.176 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.2482, allocations: 4.094 kB / 0.523 GB, free: 8.176 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.2483, allocations: 336.9 kB / 0.5233 GB, free: 7.863 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.2485, allocations: 107.5 kB / 0.5234 GB, free: 7.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.2487, allocations: 152.7 kB / 0.5235 GB, free: 7.801 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.2489, allocations: 126.7 kB / 0.5237 GB, free: 7.793 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2489, allocations: 1.312 kB / 0.5237 GB, free: 7.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005205/0.2495, allocations: 321.3 kB / 0.524 GB, free: 7.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2495, allocations: 16.84 kB / 0.524 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2495, allocations: 1.031 kB / 0.524 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2495, allocations: 3.188 kB / 0.524 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.25, allocations: 115.5 kB / 0.5241 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.2511, allocations: 3.705 MB / 0.5277 GB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.2513, allocations: 41.69 kB / 0.5278 GB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.2513, allocations: 9.594 kB / 0.5278 GB, free: 4.176 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.2515, allocations: 176.5 kB / 0.5279 GB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.2515, allocations: 27.75 kB / 0.528 GB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006253/0.2522, allocations: 356 kB / 0.5283 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2522, allocations: 1.469 kB / 0.5283 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2522, allocations: 1.219 kB / 0.5283 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2522, allocations: 8.578 kB / 0.5283 GB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.2525, allocations: 305.6 kB / 0.5286 GB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2525, allocations: 0.75 kB / 0.5286 GB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.2529, allocations: 110.6 kB / 0.5287 GB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.253, allocations: 5.438 kB / 0.5287 GB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.253, allocations: 9.547 kB / 0.5287 GB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.2541, allocations: 3.701 MB / 0.5323 GB, free: 252 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2541, allocations: 0 / 0.5323 GB, free: 252 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.2546, allocations: 380.3 kB / 0.5327 GB, free: 96 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.2547, allocations: 106.2 kB / 0.5328 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.2547, allocations: 8.453 kB / 0.5328 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.2549, allocations: 10.95 kB / 0.5328 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.2549, allocations: 14.88 kB / 0.5328 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.255, allocations: 7.703 kB / 0.5329 GB, free: 15.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000249/0.2552, allocations: 254.7 kB / 0.5331 GB, free: 15.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2552, allocations: 0 / 0.5331 GB, free: 15.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.2556, allocations: 71.41 kB / 0.5332 GB, free: 15.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001945/0.2558, allocations: 128.7 kB / 0.5333 GB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008518/0.2566, allocations: 331.5 kB / 0.5336 GB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2566, allocations: 0.8125 kB / 0.5336 GB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000578/0.2572, allocations: 207.5 kB / 0.5338 GB, free: 15.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.2576, allocations: 61.56 kB / 0.5339 GB, free: 15.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008948/0.2585, allocations: 0.696 MB / 0.5345 GB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.2588, allocations: 0.7957 MB / 0.5353 GB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.2589, allocations: 23.78 kB / 0.5353 GB, free: 14.63 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2589, allocations: 0 / 0.5353 GB, free: 14.63 MB / 362.7 MB Notification: Performance of Templates: time 0.01206/0.271, allocations: 11.19 MB / 0.5463 GB, free: 10.24 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches