Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000997/0.000997, allocations: 105.5 kB / 17.77 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 188 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4203, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003274/0.4236, allocations: 2.213 MB / 0.5211 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.4265, allocations: 2.043 MB / 0.5231 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.4266, allocations: 1.344 kB / 0.5231 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.4269, allocations: 75.22 kB / 0.5232 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.4272, allocations: 101.6 kB / 0.5233 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.4283, allocations: 421.7 kB / 0.5237 GB, free: 380 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005322/0.4288, allocations: 0.5008 MB / 0.5241 GB, free: 160 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.4289, allocations: 62.27 kB / 0.5242 GB, free: 128 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.4292, allocations: 182.8 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.4294, allocations: 208.8 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.4295, allocations: 14.41 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.4306, allocations: 0.6459 MB / 0.5252 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.4307, allocations: 99.23 kB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.431, allocations: 197.7 kB / 0.5255 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.4321, allocations: 0.791 MB / 0.5263 GB, free: 15.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4321, allocations: 0 / 0.5263 GB, free: 15.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4321, allocations: 0 / 0.5263 GB, free: 15.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.4321, allocations: 0 / 0.5263 GB, free: 15.13 MB / 398.1 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.001256/0.4334, allocations: 0.807 MB / 0.5271 GB, free: 14.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.4334, allocations: 9.438 kB / 0.5271 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.4335, allocations: 53.03 kB / 0.5271 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.4339, allocations: 297.5 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.4339, allocations: 38 kB / 0.5274 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.434, allocations: 51.75 kB / 0.5275 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.4351, allocations: 0.6997 MB / 0.5282 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4351, allocations: 1.375 kB / 0.5282 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.4352, allocations: 20.25 kB / 0.5282 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.4352, allocations: 24.69 kB / 0.5282 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009307/0.4361, allocations: 0.4925 MB / 0.5287 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.4383, allocations: 1.501 MB / 0.5302 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/0.4389, allocations: 322.3 kB / 0.5305 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.4393, allocations: 152.2 kB / 0.5306 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.006e-05/0.4393, allocations: 13.91 kB / 0.5306 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.4394, allocations: 44.02 kB / 0.5307 GB, free: 12.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.4394, allocations: 0 / 0.5307 GB, free: 12.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001243/0.4406, allocations: 0.5061 MB / 0.5312 GB, free: 11.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.4407, allocations: 109.4 kB / 0.5313 GB, free: 11.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006838/0.4414, allocations: 0.5671 MB / 0.5318 GB, free: 11.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.4414, allocations: 25.7 kB / 0.5319 GB, free: 11.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.4416, allocations: 234.6 kB / 0.5321 GB, free: 11.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.772e-05/0.4417, allocations: 80.34 kB / 0.5322 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.4418, allocations: 80.5 kB / 0.5322 GB, free: 11.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.442, allocations: 361.9 kB / 0.5326 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.4423, allocations: 149.5 kB / 0.5327 GB, free: 10.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/0.4428, allocations: 254.4 kB / 0.533 GB, free: 10.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008099/0.4436, allocations: 429.3 kB / 0.5334 GB, free: 10.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.4436, allocations: 1.156 kB / 0.5334 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001013/0.4446, allocations: 477.7 kB / 0.5338 GB, free: 9.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.4447, allocations: 14.7 kB / 0.5338 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.014e-05/0.4448, allocations: 42.16 kB / 0.5339 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.4448, allocations: 5.812 kB / 0.5339 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.445, allocations: 41.86 kB / 0.5339 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.4451, allocations: 8.688 kB / 0.5339 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.4454, allocations: 66.41 kB / 0.534 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.4455, allocations: 21.31 kB / 0.534 GB, free: 9.891 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.4457, allocations: 214.5 kB / 0.5342 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.4459, allocations: 55.31 kB / 0.5343 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009888/0.4469, allocations: 463.7 kB / 0.5347 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.4469, allocations: 4.594 kB / 0.5347 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4469, allocations: 1.031 kB / 0.5347 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4469, allocations: 9.016 kB / 0.5347 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00067/0.4476, allocations: 405.2 kB / 0.5351 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.252e-05/0.4477, allocations: 42.73 kB / 0.5352 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.4478, allocations: 24.53 kB / 0.5352 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4478, allocations: 1.188 kB / 0.5352 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.4479, allocations: 12.62 kB / 0.5352 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4479, allocations: 1.031 kB / 0.5352 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4479, allocations: 9.031 kB / 0.5352 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/0.4488, allocations: 0.6198 MB / 0.5358 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.449, allocations: 134.2 kB / 0.5359 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.449, allocations: 1.094 kB / 0.5359 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.4493, allocations: 22.75 kB / 0.536 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.4494, allocations: 24.73 kB / 0.536 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.4495, allocations: 10.47 kB / 0.536 GB, free: 8.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004859/0.45, allocations: 417.2 kB / 0.5364 GB, free: 8.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.45, allocations: 0 / 0.5364 GB, free: 8.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007864/0.4508, allocations: 167.7 kB / 0.5366 GB, free: 8.238 MB / 398.1 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 (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.0005144/0.4513, allocations: 238.5 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.4524, allocations: 0.666 MB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4525, allocations: 0 / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.4531, allocations: 492.4 kB / 0.5379 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.4538, allocations: 104.5 kB / 0.538 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.4555, allocations: 0.9234 MB / 0.5389 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.456, allocations: 0.8892 MB / 0.5398 GB, free: 5.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.4562, allocations: 81.16 kB / 0.5398 GB, free: 5.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.4563, allocations: 33.03 kB / 0.5399 GB, free: 5.699 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4563, allocations: 0 / 0.5399 GB, free: 5.699 MB / 398.1 MB Notification: Performance of Templates: time 0.01596/0.4723, allocations: 9.23 MB / 0.5489 GB, free: 12.79 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches