Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.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.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.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.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 115.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 211.9 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.321/1.321, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 83.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3221, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003357/0.3255, allocations: 1.951 MB / 0.5336 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.3276, allocations: 1.172 MB / 0.5347 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.3278, allocations: 1.219 kB / 0.5347 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.3281, allocations: 61.03 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.3284, allocations: 102.2 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.329, allocations: 156.9 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.3296, allocations: 484.3 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3297, allocations: 59.38 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.33, allocations: 160 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.3303, allocations: 198.3 kB / 0.5359 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.3304, allocations: 10.66 kB / 0.5359 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.331, allocations: 273.7 kB / 0.5362 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.3311, allocations: 96.84 kB / 0.5363 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.3314, allocations: 191.8 kB / 0.5365 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008636/0.3323, allocations: 0.5539 MB / 0.537 GB, free: 9.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3323, allocations: 0 / 0.537 GB, free: 9.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3323, allocations: 0 / 0.537 GB, free: 9.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.3323, allocations: 1.281 kB / 0.537 GB, free: 9.738 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001328/0.3336, allocations: 0.7278 MB / 0.5377 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3337, allocations: 9.156 kB / 0.5377 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.3339, allocations: 46.66 kB / 0.5378 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.3343, allocations: 298 kB / 0.538 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.3344, allocations: 41.2 kB / 0.5381 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/0.3345, allocations: 56.75 kB / 0.5381 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009888/0.3355, allocations: 0.6339 MB / 0.5388 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3355, allocations: 3.938 kB / 0.5388 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.3355, allocations: 24.11 kB / 0.5388 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-05/0.3356, allocations: 33.11 kB / 0.5388 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008125/0.3364, allocations: 0.5043 MB / 0.5393 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.3389, allocations: 1.415 MB / 0.5407 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.3397, allocations: 434 kB / 0.5411 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.3399, allocations: 141.9 kB / 0.5412 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/0.34, allocations: 18.34 kB / 0.5413 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.34, allocations: 43.56 kB / 0.5413 GB, free: 6.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 4.578e-06/0.34, allocations: 3.984 kB / 0.5413 GB, free: 6.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.00094/0.341, allocations: 0.4913 MB / 0.5418 GB, free: 6.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.341, allocations: 54.22 kB / 0.5418 GB, free: 6.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.3417, allocations: 0.5478 MB / 0.5424 GB, free: 6.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.3417, allocations: 30.86 kB / 0.5424 GB, free: 6.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3419, allocations: 221.3 kB / 0.5426 GB, free: 6.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/0.342, allocations: 89.58 kB / 0.5427 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3421, allocations: 94.27 kB / 0.5428 GB, free: 6.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3423, allocations: 359.2 kB / 0.5431 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.3426, allocations: 159.4 kB / 0.5433 GB, free: 5.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.3429, allocations: 256.7 kB / 0.5435 GB, free: 5.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.3468, allocations: 1.049 MB / 0.5446 GB, free: 4.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.3468, allocations: 7.938 kB / 0.5446 GB, free: 4.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008329/0.3476, allocations: 0.4927 MB / 0.545 GB, free: 3.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3477, allocations: 14.98 kB / 0.5451 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.326e-05/0.3477, allocations: 44 kB / 0.5451 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3478, allocations: 4 kB / 0.5451 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.348, allocations: 43.84 kB / 0.5451 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.348, allocations: 4 kB / 0.5451 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.3483, allocations: 59.36 kB / 0.5452 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.3484, allocations: 24 kB / 0.5452 GB, free: 3.531 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0003271/0.3487, allocations: 225.5 kB / 0.5454 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-05/0.3488, allocations: 39.44 kB / 0.5455 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.3498, allocations: 0.5401 MB / 0.546 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3498, allocations: 3.984 kB / 0.546 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.728e-05/0.3499, allocations: 39.98 kB / 0.546 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.3501, allocations: 120.6 kB / 0.5462 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.873e-05/0.3501, allocations: 8 kB / 0.5462 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.3504, allocations: 4 kB / 0.5462 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.3504, allocations: 27.91 kB / 0.5462 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007117/0.3511, allocations: 456.6 kB / 0.5466 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001041/0.3522, allocations: 0.7798 MB / 0.5474 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002341/0.3524, allocations: 151.9 kB / 0.5475 GB, free: 1.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000406/0.3529, allocations: 403 kB / 0.5479 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.3529, allocations: 0 / 0.5479 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.354, allocations: 0.686 MB / 0.5486 GB, free: 15.94 MB / 414.1 MB Notification: Performance of SimCode: time 0.001813/0.3558, allocations: 1.64 MB / 0.5502 GB, free: 14.18 MB / 414.1 MB Notification: Performance of Templates: time 0.01481/0.3707, allocations: 8.778 MB / 0.5588 GB, free: 5.477 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches