Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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.Channel.kc_evenGapOverall,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.|m_flow.1.|m_flow.2.|m_flow.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_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,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.|m_flow.1.|m_flow.2.|m_flow.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_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 199.2 kB / 16.1 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 226.6 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008194/0.0008195, allocations: 106.5 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3277/0.3277, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002763, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3024, allocations: 62.95 MB / 0.5159 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002177/0.3046, allocations: 1.869 MB / 0.5177 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.3069, allocations: 1.934 MB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.307, allocations: 2.812 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.3072, allocations: 51.39 kB / 0.5197 GB, free: 34.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.3074, allocations: 97.38 kB / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.3082, allocations: 360 kB / 0.5201 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.3086, allocations: 0.5513 MB / 0.5206 GB, free: 34.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.3087, allocations: 57.05 kB / 0.5207 GB, free: 34.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.3089, allocations: 172.9 kB / 0.5208 GB, free: 33.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.3091, allocations: 212.2 kB / 0.5211 GB, free: 33.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.3092, allocations: 11.56 kB / 0.5211 GB, free: 33.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007758/0.31, allocations: 0.6251 MB / 0.5217 GB, free: 33.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.3101, allocations: 102.8 kB / 0.5218 GB, free: 33.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.3102, allocations: 203.6 kB / 0.522 GB, free: 33.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.3107, allocations: 0.5353 MB / 0.5225 GB, free: 33.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3107, allocations: 3.938 kB / 0.5225 GB, free: 33.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3107, allocations: 0 / 0.5225 GB, free: 33.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3107, allocations: 0 / 0.5225 GB, free: 33.34 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0009222/0.3116, allocations: 0.7316 MB / 0.5232 GB, free: 32.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3117, allocations: 8.688 kB / 0.5232 GB, free: 32.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/0.312, allocations: 96.36 kB / 0.5233 GB, free: 32.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.3123, allocations: 306.4 kB / 0.5236 GB, free: 32.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.3124, allocations: 37.5 kB / 0.5236 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.3124, allocations: 52.03 kB / 0.5237 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008712/0.3133, allocations: 0.7019 MB / 0.5244 GB, free: 32.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3133, allocations: 0 / 0.5244 GB, free: 32.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.3134, allocations: 23.28 kB / 0.5244 GB, free: 32.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.3134, allocations: 26.38 kB / 0.5244 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007859/0.3142, allocations: 0.5228 MB / 0.5249 GB, free: 32.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.3159, allocations: 1.499 MB / 0.5264 GB, free: 31.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.3164, allocations: 331.1 kB / 0.5267 GB, free: 31.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.3167, allocations: 165 kB / 0.5269 GB, free: 31.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-05/0.3168, allocations: 25.3 kB / 0.5269 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.3168, allocations: 37.34 kB / 0.5269 GB, free: 31.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.3168, allocations: 0 / 0.5269 GB, free: 31.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001162/0.318, allocations: 0.544 MB / 0.5275 GB, free: 30.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.3181, allocations: 113.9 kB / 0.5276 GB, free: 30.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000481/0.3185, allocations: 0.5621 MB / 0.5281 GB, free: 30.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3186, allocations: 29.7 kB / 0.5281 GB, free: 30.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3187, allocations: 232 kB / 0.5284 GB, free: 30.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.3187, allocations: 77.31 kB / 0.5284 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.3188, allocations: 4 kB / 0.5284 GB, free: 30.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.3189, allocations: 361.8 kB / 0.5288 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.3192, allocations: 162.5 kB / 0.5289 GB, free: 29.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.3195, allocations: 263.2 kB / 0.5292 GB, free: 29.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/0.3202, allocations: 458.5 kB / 0.5296 GB, free: 29.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3202, allocations: 2.844 kB / 0.5296 GB, free: 29.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000845/0.3211, allocations: 0.4901 MB / 0.5301 GB, free: 29.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3211, allocations: 9.781 kB / 0.5301 GB, free: 29.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.398e-05/0.3212, allocations: 41.09 kB / 0.5302 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3212, allocations: 5.406 kB / 0.5302 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.3214, allocations: 46.67 kB / 0.5302 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3214, allocations: 9.812 kB / 0.5302 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.3217, allocations: 68.06 kB / 0.5303 GB, free: 29.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.3218, allocations: 24.69 kB / 0.5303 GB, free: 29.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (30): * Single equations (assignments): 18 * 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.0001933/0.322, allocations: 218 kB / 0.5305 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.322, allocations: 47.59 kB / 0.5306 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.3228, allocations: 468.9 kB / 0.531 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.3228, allocations: 8.844 kB / 0.531 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3229, allocations: 3.938 kB / 0.531 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3229, allocations: 3.938 kB / 0.531 GB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.3234, allocations: 415.5 kB / 0.5314 GB, free: 28.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.449e-05/0.3234, allocations: 43.75 kB / 0.5315 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3236, allocations: 28.03 kB / 0.5315 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3236, allocations: 2.094 kB / 0.5315 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.3236, allocations: 18.8 kB / 0.5315 GB, free: 28.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3236, allocations: 2.469 kB / 0.5315 GB, free: 28.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.3236, allocations: 0 / 0.5315 GB, free: 28.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.3244, allocations: 0.6614 MB / 0.5322 GB, free: 28.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.3245, allocations: 134.3 kB / 0.5323 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.3245, allocations: 0 / 0.5323 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.3248, allocations: 26.27 kB / 0.5323 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.3249, allocations: 27.77 kB / 0.5323 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.3249, allocations: 10.5 kB / 0.5323 GB, free: 28.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003399/0.3253, allocations: 415.2 kB / 0.5327 GB, free: 28.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3253, allocations: 0 / 0.5327 GB, free: 28.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.3259, allocations: 183.5 kB / 0.5329 GB, free: 28.02 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 (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.0003674/0.3263, allocations: 229 kB / 0.5331 GB, free: 27.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008064/0.3271, allocations: 0.6819 MB / 0.5338 GB, free: 27.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3271, allocations: 4.062 kB / 0.5338 GB, free: 27.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.3275, allocations: 0.4909 MB / 0.5343 GB, free: 27.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.3282, allocations: 97.25 kB / 0.5344 GB, free: 27.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3295, allocations: 1.039 MB / 0.5354 GB, free: 26.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3298, allocations: 0.8781 MB / 0.5362 GB, free: 25.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.3298, allocations: 32.53 kB / 0.5363 GB, free: 25.76 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3298, allocations: 3.938 kB / 0.5363 GB, free: 25.75 MB / 378.7 MB Notification: Performance of Templates: time 0.0152/0.345, allocations: 8.842 MB / 0.5449 GB, free: 23.67 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches