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.001034/0.001034, allocations: 112.2 kB / 18.45 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 210 kB / 19.4 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2743/0.2743, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 83.86 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4539, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003777/0.4577, allocations: 1.952 MB / 0.5336 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.4597, allocations: 1.169 MB / 0.5347 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.4598, allocations: 1.375 kB / 0.5347 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.4601, allocations: 65.47 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.4604, allocations: 112 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.4608, allocations: 158.5 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005608/0.4614, allocations: 480.4 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.4615, allocations: 58.86 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.4617, allocations: 160.7 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.462, allocations: 193.6 kB / 0.5359 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.462, allocations: 11.06 kB / 0.5359 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.4625, allocations: 274.1 kB / 0.5362 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.4626, allocations: 95.59 kB / 0.5363 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.4629, allocations: 179.7 kB / 0.5364 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007828/0.4637, allocations: 0.5621 MB / 0.537 GB, free: 9.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4637, allocations: 0 / 0.537 GB, free: 9.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4637, allocations: 1.062 kB / 0.537 GB, free: 9.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4637, allocations: 0 / 0.537 GB, free: 9.746 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.001059/0.4648, allocations: 0.7365 MB / 0.5377 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4648, allocations: 9.531 kB / 0.5377 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.4649, allocations: 46.56 kB / 0.5378 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.4653, allocations: 293.5 kB / 0.538 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.4654, allocations: 46.2 kB / 0.5381 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.436e-05/0.4655, allocations: 52.94 kB / 0.5381 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.4665, allocations: 0.6324 MB / 0.5388 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4665, allocations: 0 / 0.5388 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.4666, allocations: 24.23 kB / 0.5388 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/0.4666, allocations: 33.23 kB / 0.5388 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/0.4676, allocations: 0.5126 MB / 0.5393 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.4701, allocations: 1.415 MB / 0.5407 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008489/0.4709, allocations: 434.1 kB / 0.5411 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.4712, allocations: 142.2 kB / 0.5412 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.485e-05/0.4713, allocations: 13.45 kB / 0.5413 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4713, allocations: 40.62 kB / 0.5413 GB, free: 6.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 4.068e-06/0.4713, allocations: 3.984 kB / 0.5413 GB, free: 6.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.00107/0.4724, allocations: 0.4992 MB / 0.5418 GB, free: 6.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.4725, allocations: 53.56 kB / 0.5418 GB, free: 6.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007084/0.4732, allocations: 0.5451 MB / 0.5424 GB, free: 6.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.4732, allocations: 25.7 kB / 0.5424 GB, free: 6.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.4734, allocations: 224.4 kB / 0.5426 GB, free: 6.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.4735, allocations: 94.3 kB / 0.5427 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.4737, allocations: 89.83 kB / 0.5428 GB, free: 6.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4738, allocations: 360 kB / 0.5431 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.4741, allocations: 160.6 kB / 0.5433 GB, free: 5.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.4745, allocations: 248.8 kB / 0.5435 GB, free: 5.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/0.478, allocations: 1.057 MB / 0.5446 GB, free: 4.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.478, allocations: 0 / 0.5446 GB, free: 4.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008164/0.4789, allocations: 0.5005 MB / 0.545 GB, free: 3.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4789, allocations: 8 kB / 0.5451 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-05/0.479, allocations: 44.39 kB / 0.5451 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.479, allocations: 8 kB / 0.5451 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.4792, allocations: 39.91 kB / 0.5451 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.4792, allocations: 7.938 kB / 0.5451 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.4795, allocations: 55.38 kB / 0.5452 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.4796, allocations: 24 kB / 0.5452 GB, free: 3.527 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.0003045/0.4799, allocations: 229.5 kB / 0.5454 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.48, allocations: 43.44 kB / 0.5455 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009515/0.4809, allocations: 0.5439 MB / 0.546 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4809, allocations: 4 kB / 0.546 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.481, allocations: 0 / 0.546 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.481, allocations: 3.984 kB / 0.546 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.4815, allocations: 429.1 kB / 0.5464 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.3e-05/0.4816, allocations: 39.98 kB / 0.5465 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.4818, allocations: 27.98 kB / 0.5465 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.4818, allocations: 0 / 0.5465 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.4818, allocations: 16 kB / 0.5465 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4818, allocations: 4 kB / 0.5465 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4818, allocations: 4 kB / 0.5465 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.4829, allocations: 0.7105 MB / 0.5472 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.483, allocations: 124.6 kB / 0.5473 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.4831, allocations: 4 kB / 0.5473 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.4832, allocations: 11.98 kB / 0.5473 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.4833, allocations: 19.98 kB / 0.5474 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.4833, allocations: 16 kB / 0.5474 GB, free: 1.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004455/0.4838, allocations: 407.1 kB / 0.5478 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4838, allocations: 0 / 0.5478 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005572/0.4844, allocations: 151.8 kB / 0.5479 GB, free: 0.668 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * 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.0003307/0.4847, allocations: 163.4 kB / 0.5481 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008198/0.4855, allocations: 0.6721 MB / 0.5487 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.4855, allocations: 0 / 0.5487 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.486, allocations: 492.2 kB / 0.5492 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.4865, allocations: 105.7 kB / 0.5493 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.4883, allocations: 1.034 MB / 0.5503 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.4888, allocations: 0.878 MB / 0.5512 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.4889, allocations: 35.44 kB / 0.5512 GB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4889, allocations: 0 / 0.5512 GB, free: 13.09 MB / 414.1 MB Notification: Performance of Templates: time 0.01118/0.5001, allocations: 8.442 MB / 0.5594 GB, free: 4.68 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