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.00142/0.001421, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001863/0.001863, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 79.86 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3387, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003579/0.3423, allocations: 2.226 MB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.3456, allocations: 2.151 MB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3457, allocations: 2.594 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.346, allocations: 76.7 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.3462, allocations: 111.9 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.3473, allocations: 448.8 kB / 0.5366 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.348, allocations: 0.5096 MB / 0.5371 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3481, allocations: 69.91 kB / 0.5371 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.3484, allocations: 176.5 kB / 0.5373 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.3488, allocations: 203.6 kB / 0.5375 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.529e-05/0.3488, allocations: 14.53 kB / 0.5375 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.35, allocations: 0.6668 MB / 0.5382 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.3502, allocations: 108.6 kB / 0.5383 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.3504, allocations: 198.1 kB / 0.5385 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.3516, allocations: 0.8027 MB / 0.5392 GB, free: 8.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3516, allocations: 4 kB / 0.5393 GB, free: 8.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3517, allocations: 4 kB / 0.5393 GB, free: 8.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3517, allocations: 1.094 kB / 0.5393 GB, free: 8.078 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.001319/0.353, allocations: 0.8017 MB / 0.54 GB, free: 7.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.353, allocations: 8.938 kB / 0.54 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003954/0.3534, allocations: 93.89 kB / 0.5401 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.354, allocations: 308.8 kB / 0.5404 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.354, allocations: 36.56 kB / 0.5405 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.3541, allocations: 52.34 kB / 0.5405 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3552, allocations: 0.6967 MB / 0.5412 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3553, allocations: 4 kB / 0.5412 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.3553, allocations: 16.41 kB / 0.5412 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.3554, allocations: 24.31 kB / 0.5412 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3565, allocations: 0.4935 MB / 0.5417 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.3591, allocations: 1.505 MB / 0.5432 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007506/0.3598, allocations: 314.8 kB / 0.5435 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/0.3603, allocations: 159.5 kB / 0.5436 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.435e-05/0.3603, allocations: 21.88 kB / 0.5437 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.3604, allocations: 33.22 kB / 0.5437 GB, free: 5.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.3604, allocations: 0 / 0.5437 GB, free: 5.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001339/0.3618, allocations: 0.5094 MB / 0.5442 GB, free: 4.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.3618, allocations: 102.8 kB / 0.5443 GB, free: 4.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/0.3625, allocations: 0.5762 MB / 0.5449 GB, free: 4.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.3625, allocations: 29.7 kB / 0.5449 GB, free: 3.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.3627, allocations: 232.3 kB / 0.5451 GB, free: 3.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.3628, allocations: 70.86 kB / 0.5452 GB, free: 3.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.3629, allocations: 81.69 kB / 0.5452 GB, free: 3.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3631, allocations: 366.7 kB / 0.5456 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.3635, allocations: 147.8 kB / 0.5457 GB, free: 3.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.3639, allocations: 244.7 kB / 0.546 GB, free: 2.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008331/0.3648, allocations: 439.9 kB / 0.5464 GB, free: 2.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3648, allocations: 0 / 0.5464 GB, free: 2.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009826/0.3658, allocations: 488.5 kB / 0.5469 GB, free: 1.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3658, allocations: 8 kB / 0.5469 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.184e-05/0.3659, allocations: 43.92 kB / 0.5469 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3659, allocations: 4 kB / 0.5469 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.3661, allocations: 35.91 kB / 0.5469 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.3662, allocations: 15.91 kB / 0.547 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.3665, allocations: 67.67 kB / 0.547 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.3665, allocations: 23.94 kB / 0.547 GB, free: 1.648 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.0002512/0.3668, allocations: 221.6 kB / 0.5473 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.3669, allocations: 43.44 kB / 0.5473 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009299/0.3678, allocations: 469.3 kB / 0.5477 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3678, allocations: 0 / 0.5477 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.816e-05/0.3679, allocations: 43.98 kB / 0.5478 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.368, allocations: 128.5 kB / 0.5479 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.3681, allocations: 3.938 kB / 0.5479 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.3684, allocations: 23.97 kB / 0.5479 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.3685, allocations: 23.92 kB / 0.548 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009707/0.3695, allocations: 0.5875 MB / 0.5485 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009716/0.3705, allocations: 0.7008 MB / 0.5492 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003662/0.3709, allocations: 155.7 kB / 0.5494 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004573/0.3713, allocations: 414.8 kB / 0.5498 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Backend: time 4.61e-07/0.3713, allocations: 0 / 0.5498 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.3731, allocations: 0.7483 MB / 0.5505 GB, free: 13.97 MB / 414.1 MB Notification: Performance of SimCode: time 0.001744/0.3748, allocations: 1.613 MB / 0.5521 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Templates: time 0.017/0.3918, allocations: 9.836 MB / 0.5617 GB, free: 2.48 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/jenkins1/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/jenkins1/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