Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 71.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4309, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003509/0.4344, allocations: 2.223 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.4377, allocations: 2.154 MB / 0.5353 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.4379, allocations: 6.594 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.4382, allocations: 68.73 kB / 0.5354 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.4385, allocations: 99.81 kB / 0.5355 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.4398, allocations: 451.5 kB / 0.5359 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000629/0.4404, allocations: 0.5051 MB / 0.5364 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.4405, allocations: 65.12 kB / 0.5364 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.4409, allocations: 181.5 kB / 0.5366 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.4412, allocations: 203.4 kB / 0.5368 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.4412, allocations: 14.59 kB / 0.5368 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.4423, allocations: 0.6622 MB / 0.5375 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.4425, allocations: 106.1 kB / 0.5376 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.4427, allocations: 205.8 kB / 0.5378 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.4439, allocations: 0.8014 MB / 0.5386 GB, free: 8.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4439, allocations: 1.125 kB / 0.5386 GB, free: 8.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4439, allocations: 0 / 0.5386 GB, free: 8.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.4439, allocations: 0 / 0.5386 GB, free: 8.062 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.001614/0.4456, allocations: 0.8068 MB / 0.5393 GB, free: 7.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4456, allocations: 8.688 kB / 0.5394 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/0.4461, allocations: 93.89 kB / 0.5394 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.4466, allocations: 309.2 kB / 0.5397 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.4466, allocations: 37.25 kB / 0.5398 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.4467, allocations: 51.47 kB / 0.5398 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.4478, allocations: 0.7002 MB / 0.5405 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.4479, allocations: 0 / 0.5405 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.4479, allocations: 17.31 kB / 0.5405 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.448, allocations: 20.28 kB / 0.5405 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009641/0.4489, allocations: 0.4935 MB / 0.541 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.4513, allocations: 1.509 MB / 0.5425 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.452, allocations: 318.6 kB / 0.5428 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.4523, allocations: 151.3 kB / 0.5429 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.979e-05/0.4524, allocations: 18.2 kB / 0.543 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4525, allocations: 41.34 kB / 0.543 GB, free: 5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/0.4525, allocations: 0 / 0.543 GB, free: 5 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001396/0.4539, allocations: 0.5107 MB / 0.5435 GB, free: 4.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.4539, allocations: 111.1 kB / 0.5436 GB, free: 4.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/0.4546, allocations: 0.5682 MB / 0.5442 GB, free: 4.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.4547, allocations: 25.7 kB / 0.5442 GB, free: 3.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.4549, allocations: 232.3 kB / 0.5444 GB, free: 3.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/0.4549, allocations: 82.84 kB / 0.5445 GB, free: 3.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.4551, allocations: 77.69 kB / 0.5446 GB, free: 3.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4553, allocations: 362.8 kB / 0.5449 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.4556, allocations: 151.9 kB / 0.5451 GB, free: 3.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.4561, allocations: 249.5 kB / 0.5453 GB, free: 2.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008169/0.4569, allocations: 437.5 kB / 0.5457 GB, free: 2.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4569, allocations: 0 / 0.5457 GB, free: 2.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001011/0.4579, allocations: 484.4 kB / 0.5462 GB, free: 1.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.458, allocations: 11.94 kB / 0.5462 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-05/0.4581, allocations: 43.98 kB / 0.5462 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4581, allocations: 7.984 kB / 0.5462 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.4583, allocations: 36.34 kB / 0.5463 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.4583, allocations: 8 kB / 0.5463 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.4587, allocations: 67.34 kB / 0.5463 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.4587, allocations: 23.94 kB / 0.5464 GB, free: 1.641 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.000248/0.459, allocations: 221.6 kB / 0.5466 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.4591, allocations: 47.38 kB / 0.5466 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009792/0.4601, allocations: 466.9 kB / 0.5471 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4601, allocations: 11.98 kB / 0.5471 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4601, allocations: 0 / 0.5471 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4601, allocations: 3.938 kB / 0.5471 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007913/0.4609, allocations: 401.2 kB / 0.5475 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.441e-05/0.461, allocations: 39.98 kB / 0.5475 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.4612, allocations: 27.91 kB / 0.5475 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.4612, allocations: 0 / 0.5475 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.4612, allocations: 15.98 kB / 0.5475 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.4612, allocations: 4 kB / 0.5475 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4613, allocations: 4 kB / 0.5475 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009966/0.4623, allocations: 0.6225 MB / 0.5482 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.4625, allocations: 132.5 kB / 0.5483 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.4625, allocations: 4 kB / 0.5483 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.4629, allocations: 19.97 kB / 0.5483 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.463, allocations: 23.92 kB / 0.5483 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.463, allocations: 15.98 kB / 0.5483 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004339/0.4635, allocations: 414.8 kB / 0.5487 GB, free: 15.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4635, allocations: 0 / 0.5487 GB, free: 15.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007246/0.4642, allocations: 183.8 kB / 0.5489 GB, free: 14.92 MB / 414.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.0005561/0.4648, allocations: 243 kB / 0.5491 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.4659, allocations: 0.6609 MB / 0.5498 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4659, allocations: 0 / 0.5498 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005891/0.4665, allocations: 488.3 kB / 0.5503 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007154/0.4672, allocations: 97.97 kB / 0.5503 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.4689, allocations: 0.9277 MB / 0.5513 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.4694, allocations: 0.8819 MB / 0.5521 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.4696, allocations: 79.33 kB / 0.5522 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.4697, allocations: 31.42 kB / 0.5522 GB, free: 11.31 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4697, allocations: 0 / 0.5522 GB, free: 11.31 MB / 414.1 MB Notification: Performance of Templates: time 0.01531/0.485, allocations: 9.367 MB / 0.5614 GB, free: 2.023 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches