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.001397/0.001397, allocations: 190.8 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.5 MB / 244.1 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007632/0.000763, allocations: 106.1 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3509/0.3509, allocations: 44.81 MB / 392.9 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002632, allocations: 4 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2839, allocations: 62.95 MB / 0.5165 GB, free: 37.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.3948, allocations: 100.4 MB / 0.6145 GB, free: 5.004 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.3951, allocations: 95.94 kB / 0.6146 GB, free: 4.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0562/0.4513, allocations: 21.92 MB / 0.636 GB, free: 14.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4514, allocations: 0 / 0.636 GB, free: 14.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.4514, allocations: 8 kB / 0.636 GB, free: 14.77 MB / 458.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.00116/0.4526, allocations: 0.7445 MB / 0.6368 GB, free: 13.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4526, allocations: 8.031 kB / 0.6368 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004228/0.4531, allocations: 92.33 kB / 0.6368 GB, free: 13.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.4534, allocations: 305.9 kB / 0.6371 GB, free: 13.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.4535, allocations: 37.38 kB / 0.6372 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.4536, allocations: 48.38 kB / 0.6372 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.4546, allocations: 0.7122 MB / 0.6379 GB, free: 12.72 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4546, allocations: 192 / 0.6379 GB, free: 12.72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.4547, allocations: 23.94 kB / 0.6379 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.4547, allocations: 21 kB / 0.638 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009324/0.4557, allocations: 0.5233 MB / 0.6385 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.4578, allocations: 1.511 MB / 0.6399 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.4584, allocations: 331.4 kB / 0.6403 GB, free: 10.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.4587, allocations: 170.4 kB / 0.6404 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.4588, allocations: 8.188 kB / 0.6404 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.4588, allocations: 42.5 kB / 0.6405 GB, free: 9.992 MB / 458.7 MB Notification: Performance of pre-optimization done (n=23): time 3.647e-06/0.4588, allocations: 0 / 0.6405 GB, free: 9.992 MB / 458.7 MB Notification: Performance of matching and sorting (n=23): time 0.001239/0.4601, allocations: 0.5536 MB / 0.641 GB, free: 9.434 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.4601, allocations: 106.8 kB / 0.6411 GB, free: 9.305 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.4607, allocations: 0.5526 MB / 0.6417 GB, free: 8.742 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.4608, allocations: 29.7 kB / 0.6417 GB, free: 8.707 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.461, allocations: 244.2 kB / 0.6419 GB, free: 8.465 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.12e-05/0.461, allocations: 70.91 kB / 0.642 GB, free: 8.395 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.4611, allocations: 8 kB / 0.642 GB, free: 8.387 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4612, allocations: 354.8 kB / 0.6423 GB, free: 8.031 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.4615, allocations: 167.8 kB / 0.6425 GB, free: 7.867 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.4619, allocations: 266.3 kB / 0.6427 GB, free: 7.562 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.4627, allocations: 452 kB / 0.6432 GB, free: 7.078 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4627, allocations: 4 kB / 0.6432 GB, free: 7.074 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009406/0.4637, allocations: 0.4926 MB / 0.6437 GB, free: 6.574 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4637, allocations: 4.438 kB / 0.6437 GB, free: 6.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.461e-05/0.4638, allocations: 47.98 kB / 0.6437 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4638, allocations: 4 kB / 0.6437 GB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.464, allocations: 47.89 kB / 0.6438 GB, free: 6.473 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.464, allocations: 7.938 kB / 0.6438 GB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.4644, allocations: 71.36 kB / 0.6438 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.4644, allocations: 23.98 kB / 0.6439 GB, free: 6.371 MB / 458.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.0002528/0.4647, allocations: 218.7 kB / 0.6441 GB, free: 6.148 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4648, allocations: 43.44 kB / 0.6441 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000902/0.4657, allocations: 482.6 kB / 0.6446 GB, free: 5.629 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.4657, allocations: 4 kB / 0.6446 GB, free: 5.625 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4657, allocations: 0 / 0.6446 GB, free: 5.625 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4657, allocations: 3.938 kB / 0.6446 GB, free: 5.621 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.4663, allocations: 413.2 kB / 0.645 GB, free: 5.168 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.943e-05/0.4664, allocations: 39.98 kB / 0.645 GB, free: 5.129 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.4665, allocations: 35.97 kB / 0.645 GB, free: 5.094 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4666, allocations: 0 / 0.645 GB, free: 5.094 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.4666, allocations: 12 kB / 0.6451 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4666, allocations: 0 / 0.6451 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4666, allocations: 4 kB / 0.6451 GB, free: 5.078 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008588/0.4675, allocations: 0.6533 MB / 0.6457 GB, free: 4.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.4676, allocations: 136.5 kB / 0.6458 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/0.4677, allocations: 0 / 0.6458 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.468, allocations: 27.97 kB / 0.6459 GB, free: 4.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.4681, allocations: 23.98 kB / 0.6459 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.4681, allocations: 12 kB / 0.6459 GB, free: 4.195 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004306/0.4685, allocations: 414.8 kB / 0.6463 GB, free: 3.793 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4685, allocations: 3.938 kB / 0.6463 GB, free: 3.789 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008125/0.4694, allocations: 203.6 kB / 0.6465 GB, free: 3.59 MB / 458.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.000672/0.47, allocations: 312.1 kB / 0.6468 GB, free: 3.277 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009765/0.471, allocations: 0.6843 MB / 0.6474 GB, free: 2.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.471, allocations: 0 / 0.6474 GB, free: 2.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.4715, allocations: 0.4887 MB / 0.6479 GB, free: 1.957 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007076/0.4723, allocations: 92.33 kB / 0.648 GB, free: 1.871 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.4739, allocations: 1.05 MB / 0.649 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.4743, allocations: 0.8743 MB / 0.6499 GB, free: 15.87 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.4744, allocations: 31.42 kB / 0.6499 GB, free: 15.84 MB / 474.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4744, allocations: 0 / 0.6499 GB, free: 15.84 MB / 474.7 MB Notification: Performance of Templates: time 0.0131/0.4875, allocations: 9.254 MB / 0.659 GB, free: 6.629 MB / 474.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/jenkins1/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