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.001024/0.001024, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 226.5 MB / 243.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000763/0.000763, allocations: 101.9 kB / 295.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3071/0.3071, allocations: 44.82 MB / 392.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002433/0.0002433, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2641, allocations: 62.96 MB / 0.5159 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.001671/0.2659, allocations: 1.676 MB / 0.5175 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.2668, allocations: 0.7677 MB / 0.5183 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.2669, allocations: 0 / 0.5183 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.2671, allocations: 55.08 kB / 0.5183 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.2674, allocations: 108.5 kB / 0.5184 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.2676, allocations: 50.83 kB / 0.5185 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.2679, allocations: 382.5 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.197e-05/0.2679, allocations: 34.75 kB / 0.5189 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.2681, allocations: 114.5 kB / 0.519 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2683, allocations: 144.4 kB / 0.5191 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.2683, allocations: 5.812 kB / 0.5191 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2685, allocations: 120.4 kB / 0.5193 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.2686, allocations: 71.81 kB / 0.5193 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.2687, allocations: 138.5 kB / 0.5195 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.2689, allocations: 242.4 kB / 0.5197 GB, free: 34.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2689, allocations: 4 kB / 0.5197 GB, free: 34.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2689, allocations: 0 / 0.5197 GB, free: 34.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2689, allocations: 0 / 0.5197 GB, free: 34.74 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0006196/0.2696, allocations: 0.5179 MB / 0.5202 GB, free: 34.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2696, allocations: 12.62 kB / 0.5202 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.2697, allocations: 31.19 kB / 0.5202 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.2699, allocations: 243.8 kB / 0.5205 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2699, allocations: 23.16 kB / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.2699, allocations: 29.64 kB / 0.5205 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.2704, allocations: 390.5 kB / 0.5209 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2705, allocations: 2.562 kB / 0.5209 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.2705, allocations: 12 kB / 0.5209 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.2705, allocations: 31.3 kB / 0.5209 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.2711, allocations: 414.2 kB / 0.5213 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.2722, allocations: 0.8783 MB / 0.5222 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.2727, allocations: 308.6 kB / 0.5225 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.2729, allocations: 107.2 kB / 0.5226 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.2729, allocations: 7.094 kB / 0.5226 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.2729, allocations: 33.84 kB / 0.5226 GB, free: 33.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.2729, allocations: 0 / 0.5226 GB, free: 33.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006627/0.2736, allocations: 378.4 kB / 0.523 GB, free: 33.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.2736, allocations: 55.34 kB / 0.523 GB, free: 33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.2739, allocations: 352.7 kB / 0.5234 GB, free: 32.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.2739, allocations: 29.7 kB / 0.5234 GB, free: 32.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.274, allocations: 157.2 kB / 0.5236 GB, free: 32.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.274, allocations: 51.88 kB / 0.5236 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.2741, allocations: 6.812 kB / 0.5236 GB, free: 32.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.2741, allocations: 337.5 kB / 0.5239 GB, free: 32.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.2743, allocations: 106.1 kB / 0.524 GB, free: 32.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.2745, allocations: 150.2 kB / 0.5242 GB, free: 32.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.2749, allocations: 277.3 kB / 0.5244 GB, free: 32.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2749, allocations: 6.812 kB / 0.5244 GB, free: 32.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000474/0.2754, allocations: 316.3 kB / 0.5247 GB, free: 32.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2754, allocations: 8.469 kB / 0.5248 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.2755, allocations: 4.188 kB / 0.5248 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2755, allocations: 2.844 kB / 0.5248 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.276, allocations: 120 kB / 0.5249 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.2772, allocations: 3.715 MB / 0.5285 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.2773, allocations: 37.19 kB / 0.5285 GB, free: 28.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2774, allocations: 10.97 kB / 0.5285 GB, free: 28.37 MB / 378.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.0001424/0.2775, allocations: 171 kB / 0.5287 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.2776, allocations: 31.5 kB / 0.5287 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.2781, allocations: 358.7 kB / 0.5291 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2782, allocations: 2.625 kB / 0.5291 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2782, allocations: 0 / 0.5291 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2782, allocations: 0 / 0.5291 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.2785, allocations: 314.8 kB / 0.5294 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2785, allocations: 0 / 0.5294 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.2789, allocations: 110.9 kB / 0.5295 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2789, allocations: 3.938 kB / 0.5295 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.279, allocations: 7.062 kB / 0.5295 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.2801, allocations: 3.704 MB / 0.5331 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2801, allocations: 0 / 0.5331 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.2805, allocations: 381.3 kB / 0.5335 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.2806, allocations: 97.83 kB / 0.5336 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.2806, allocations: 10.19 kB / 0.5336 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.2808, allocations: 9.281 kB / 0.5336 GB, free: 23.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.2808, allocations: 18.83 kB / 0.5336 GB, free: 23.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.2809, allocations: 13.22 kB / 0.5336 GB, free: 23.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.2811, allocations: 253.7 kB / 0.5339 GB, free: 23.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2811, allocations: 0 / 0.5339 GB, free: 23.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003196/0.2814, allocations: 79.34 kB / 0.5339 GB, free: 23.82 MB / 378.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.0001794/0.2816, allocations: 129.3 kB / 0.5341 GB, free: 23.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008081/0.2824, allocations: 331.6 kB / 0.5344 GB, free: 23.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2824, allocations: 0 / 0.5344 GB, free: 23.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.283, allocations: 201.2 kB / 0.5346 GB, free: 23.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.2833, allocations: 66.89 kB / 0.5346 GB, free: 23.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007801/0.2841, allocations: 0.6829 MB / 0.5353 GB, free: 23.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.2843, allocations: 0.7881 MB / 0.5361 GB, free: 22.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.2844, allocations: 26.64 kB / 0.5361 GB, free: 22.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2844, allocations: 6.938 kB / 0.5361 GB, free: 22.54 MB / 378.7 MB Notification: Performance of Templates: time 0.01166/0.2961, allocations: 11.17 MB / 0.547 GB, free: 19.78 MB / 378.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