Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2695/0.2695, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 75.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4297, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003412/0.4331, allocations: 1.794 MB / 0.5328 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.4347, allocations: 0.8414 MB / 0.5336 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.4348, allocations: 0 / 0.5336 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.4351, allocations: 52.05 kB / 0.5336 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.4354, allocations: 60.34 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.4357, allocations: 87.22 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.4359, allocations: 143.7 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.636e-05/0.436, allocations: 18.05 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.4362, allocations: 70.81 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.4364, allocations: 78.77 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.4365, allocations: 4.531 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.4368, allocations: 161.9 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.219e-05/0.4369, allocations: 37.95 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.413e-05/0.437, allocations: 53.73 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.4374, allocations: 207 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4374, allocations: 0 / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4374, allocations: 0 / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.4374, allocations: 1.125 kB / 0.5345 GB, free: 10.95 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007897/0.4382, allocations: 456.8 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4383, allocations: 9.375 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.4383, allocations: 15.72 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.4386, allocations: 199.3 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4386, allocations: 8.5 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.4386, allocations: 15 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.439, allocations: 176.9 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.439, allocations: 5.375 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.439, allocations: 4 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.4391, allocations: 9.625 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.4394, allocations: 167.2 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008553/0.4403, allocations: 487.5 kB / 0.536 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.4408, allocations: 163.1 kB / 0.5362 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.441, allocations: 59.28 kB / 0.5362 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.441, allocations: 1.188 kB / 0.5362 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.441, allocations: 32 kB / 0.5362 GB, free: 9.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.4411, allocations: 3.938 kB / 0.5362 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006489/0.4417, allocations: 205.6 kB / 0.5364 GB, free: 9.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.4418, allocations: 52.78 kB / 0.5365 GB, free: 9.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.442, allocations: 203.1 kB / 0.5367 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.442, allocations: 26.67 kB / 0.5367 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.4421, allocations: 114.3 kB / 0.5368 GB, free: 9.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.4422, allocations: 40.47 kB / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.4423, allocations: 31.2 kB / 0.5369 GB, free: 8.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.4425, allocations: 331.7 kB / 0.5372 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.4426, allocations: 48.95 kB / 0.5373 GB, free: 8.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.4428, allocations: 71.61 kB / 0.5373 GB, free: 8.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.4432, allocations: 127.3 kB / 0.5374 GB, free: 8.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4432, allocations: 1.188 kB / 0.5374 GB, free: 8.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004249/0.4436, allocations: 166.3 kB / 0.5376 GB, free: 8.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.4437, allocations: 5.25 kB / 0.5376 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4437, allocations: 4 kB / 0.5376 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.4437, allocations: 1.344 kB / 0.5376 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.444, allocations: 53.53 kB / 0.5377 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009027/0.4449, allocations: 1.222 MB / 0.5389 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.4451, allocations: 21.47 kB / 0.5389 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.4451, allocations: 8.75 kB / 0.5389 GB, free: 7.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003181/0.4454, allocations: 134.5 kB / 0.539 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.4455, allocations: 17.83 kB / 0.539 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005316/0.446, allocations: 181.9 kB / 0.5392 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.4461, allocations: 1.125 kB / 0.5392 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.4461, allocations: 0 / 0.5392 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4461, allocations: 1.125 kB / 0.5392 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.4464, allocations: 220.3 kB / 0.5394 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4464, allocations: 9.188 kB / 0.5394 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.4467, allocations: 48.47 kB / 0.5395 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.4467, allocations: 3.984 kB / 0.5395 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.4467, allocations: 1.188 kB / 0.5395 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007925/0.4475, allocations: 1.224 MB / 0.5407 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4475, allocations: 1.125 kB / 0.5407 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.448, allocations: 249.5 kB / 0.5409 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.4481, allocations: 93.33 kB / 0.541 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.4481, allocations: 5.094 kB / 0.541 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4483, allocations: 12.2 kB / 0.541 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.4484, allocations: 11.11 kB / 0.541 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.4484, allocations: 3.219 kB / 0.541 GB, free: 5.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.4486, allocations: 148.3 kB / 0.5412 GB, free: 5.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4486, allocations: 1.094 kB / 0.5412 GB, free: 5.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003746/0.449, allocations: 42.47 kB / 0.5412 GB, free: 5.004 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002916/0.4493, allocations: 136.5 kB / 0.5413 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005555/0.4498, allocations: 144.5 kB / 0.5415 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4498, allocations: 0 / 0.5415 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.4501, allocations: 95.64 kB / 0.5416 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.4505, allocations: 29.17 kB / 0.5416 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007581/0.4512, allocations: 348.9 kB / 0.5419 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.4516, allocations: 0.7302 MB / 0.5426 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.741e-05/0.4517, allocations: 41.27 kB / 0.5427 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.4517, allocations: 14.75 kB / 0.5427 GB, free: 3.801 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4517, allocations: 0 / 0.5427 GB, free: 3.801 MB / 398.1 MB Notification: Performance of Templates: time 0.006508/0.4582, allocations: 2.646 MB / 0.5453 GB, free: 2.523 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches