Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_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.001334/0.001334, 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.265/1.265, allocations: 226.7 MB / 245.5 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009432/0.0009433, allocations: 100.3 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3199/0.3199, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 60.23 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2805, allocations: 62.02 MB / 0.5152 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002521/0.2831, allocations: 2.077 MB / 0.5172 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2841, allocations: 0.8389 MB / 0.518 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.2842, allocations: 0 / 0.518 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.2844, allocations: 62.55 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.2847, allocations: 108.8 kB / 0.5182 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.2849, allocations: 61.7 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.2852, allocations: 450.9 kB / 0.5187 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/0.2852, allocations: 31.88 kB / 0.5187 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.2854, allocations: 120.6 kB / 0.5188 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.2856, allocations: 155.5 kB / 0.519 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.2856, allocations: 5.906 kB / 0.519 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.2858, allocations: 121.5 kB / 0.5191 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.2859, allocations: 66.72 kB / 0.5191 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.597e-05/0.286, allocations: 114.6 kB / 0.5193 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.2863, allocations: 342 kB / 0.5196 GB, free: 35.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2863, allocations: 0 / 0.5196 GB, free: 35.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2863, allocations: 4 kB / 0.5196 GB, free: 35.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.2863, allocations: 0 / 0.5196 GB, free: 35.18 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.0006598/0.287, allocations: 0.5622 MB / 0.5201 GB, free: 34.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.287, allocations: 8.75 kB / 0.5201 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.2871, allocations: 30.84 kB / 0.5202 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.2873, allocations: 245.7 kB / 0.5204 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2873, allocations: 28.02 kB / 0.5204 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.2874, allocations: 25.66 kB / 0.5205 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.2879, allocations: 391.5 kB / 0.5208 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2879, allocations: 3.938 kB / 0.5208 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.2879, allocations: 18.75 kB / 0.5209 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.288, allocations: 25.2 kB / 0.5209 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005915/0.2886, allocations: 411.3 kB / 0.5213 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2897, allocations: 0.8665 MB / 0.5221 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.2902, allocations: 275 kB / 0.5224 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.2904, allocations: 95.91 kB / 0.5225 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.2904, allocations: 9.984 kB / 0.5225 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.2904, allocations: 34.56 kB / 0.5225 GB, free: 33.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.2904, allocations: 0 / 0.5225 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006522/0.2911, allocations: 331.2 kB / 0.5228 GB, free: 33.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.2911, allocations: 55.34 kB / 0.5229 GB, free: 33.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.2914, allocations: 354.5 kB / 0.5232 GB, free: 33.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2915, allocations: 29.7 kB / 0.5232 GB, free: 33.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.2915, allocations: 161.5 kB / 0.5234 GB, free: 33.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.2916, allocations: 56.52 kB / 0.5235 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.2916, allocations: 52.81 kB / 0.5235 GB, free: 33.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.2917, allocations: 338.7 kB / 0.5238 GB, free: 32.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.2919, allocations: 93.75 kB / 0.5239 GB, free: 32.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.2921, allocations: 137.9 kB / 0.524 GB, free: 32.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.2925, allocations: 250.3 kB / 0.5243 GB, free: 32.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2925, allocations: 2.938 kB / 0.5243 GB, free: 32.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004895/0.293, allocations: 296.3 kB / 0.5246 GB, free: 32.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.293, allocations: 12.38 kB / 0.5246 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.293, allocations: 0 / 0.5246 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.293, allocations: 6.203 kB / 0.5246 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/0.2935, allocations: 110.2 kB / 0.5247 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.2948, allocations: 3.677 MB / 0.5283 GB, free: 28.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.2949, allocations: 35.64 kB / 0.5283 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.295, allocations: 8.406 kB / 0.5283 GB, free: 28.81 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.2951, allocations: 179.9 kB / 0.5285 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.2952, allocations: 26.94 kB / 0.5285 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005805/0.2957, allocations: 329.8 kB / 0.5288 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2958, allocations: 2.844 kB / 0.5288 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2958, allocations: 0 / 0.5288 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2958, allocations: 3.375 kB / 0.5288 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.2961, allocations: 302.1 kB / 0.5291 GB, free: 28.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2961, allocations: 4 kB / 0.5291 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.2965, allocations: 110.8 kB / 0.5292 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2965, allocations: 0 / 0.5292 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.2965, allocations: 9.25 kB / 0.5293 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.2977, allocations: 3.666 MB / 0.5328 GB, free: 24.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2977, allocations: 0 / 0.5328 GB, free: 24.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/0.2985, allocations: 1.053 MB / 0.5339 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.2985, allocations: 115.1 kB / 0.534 GB, free: 23.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.2986, allocations: 4 kB / 0.534 GB, free: 23.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.2987, allocations: 12.47 kB / 0.534 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.2988, allocations: 22.88 kB / 0.534 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2988, allocations: 2.938 kB / 0.534 GB, free: 23.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001835/0.299, allocations: 257.2 kB / 0.5343 GB, free: 23.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.299, allocations: 0 / 0.5343 GB, free: 23.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004275/0.2995, allocations: 64.03 kB / 0.5343 GB, free: 23.67 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002304/0.2997, allocations: 134 kB / 0.5344 GB, free: 23.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007641/0.3005, allocations: 306.1 kB / 0.5347 GB, free: 23.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3005, allocations: 0 / 0.5347 GB, free: 23.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.301, allocations: 192.3 kB / 0.5349 GB, free: 23.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3014, allocations: 59.88 kB / 0.535 GB, free: 23.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009634/0.3024, allocations: 0.8069 MB / 0.5358 GB, free: 22.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.3026, allocations: 0.801 MB / 0.5365 GB, free: 22.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.3027, allocations: 70.39 kB / 0.5366 GB, free: 22.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.3028, allocations: 21.75 kB / 0.5366 GB, free: 22.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3028, allocations: 0 / 0.5366 GB, free: 22.25 MB / 378.7 MB Notification: Performance of Templates: time 0.008708/0.3115, allocations: 5.151 MB / 0.5417 GB, free: 21.92 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches