Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_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_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_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_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 121.7 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.001779/0.001779, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2792/0.2792, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 75.81 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4428, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003933/0.4468, allocations: 1.921 MB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.4491, allocations: 1.167 MB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.4493, allocations: 1.375 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.4496, allocations: 56.05 kB / 0.5347 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.4499, allocations: 57.36 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.4507, allocations: 193.4 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000361/0.451, allocations: 227.4 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.921e-05/0.4511, allocations: 18.05 kB / 0.5352 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.4514, allocations: 100.7 kB / 0.5353 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.4517, allocations: 98.47 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.4517, allocations: 8.875 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005158/0.4522, allocations: 251.5 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.4524, allocations: 62.27 kB / 0.5357 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.4525, allocations: 92.31 kB / 0.5358 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006342/0.4532, allocations: 329.8 kB / 0.5361 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4532, allocations: 0 / 0.5361 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4532, allocations: 3.938 kB / 0.5361 GB, free: 10.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.4532, allocations: 0 / 0.5361 GB, free: 10.26 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001208/0.4544, allocations: 0.5608 MB / 0.5367 GB, free: 9.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4545, allocations: 13.06 kB / 0.5367 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.4549, allocations: 56.73 kB / 0.5367 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.4552, allocations: 234.2 kB / 0.537 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.4553, allocations: 10.84 kB / 0.537 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.4553, allocations: 22.53 kB / 0.537 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.4559, allocations: 279.7 kB / 0.5373 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4559, allocations: 0 / 0.5373 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.456, allocations: 10.12 kB / 0.5373 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.456, allocations: 13.52 kB / 0.5373 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005883/0.4566, allocations: 220.4 kB / 0.5375 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4578, allocations: 0.7706 MB / 0.5382 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.4585, allocations: 228.6 kB / 0.5385 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.4587, allocations: 104.1 kB / 0.5386 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.4588, allocations: 10.09 kB / 0.5386 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.4588, allocations: 40.34 kB / 0.5386 GB, free: 8.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.4588, allocations: 1.125 kB / 0.5386 GB, free: 8.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009149/0.4598, allocations: 311.8 kB / 0.5389 GB, free: 8.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.4598, allocations: 109.6 kB / 0.539 GB, free: 7.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.4602, allocations: 278.6 kB / 0.5393 GB, free: 7.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.4602, allocations: 31.77 kB / 0.5393 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.4603, allocations: 146.2 kB / 0.5394 GB, free: 7.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.4604, allocations: 45.14 kB / 0.5395 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-05/0.4605, allocations: 39.98 kB / 0.5395 GB, free: 7.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4606, allocations: 334.5 kB / 0.5398 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.4609, allocations: 88.09 kB / 0.5399 GB, free: 7.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.4611, allocations: 126.5 kB / 0.5401 GB, free: 7.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.4616, allocations: 220.2 kB / 0.5403 GB, free: 6.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4617, allocations: 5.156 kB / 0.5403 GB, free: 6.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006504/0.4623, allocations: 259.6 kB / 0.5405 GB, free: 6.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4623, allocations: 9.438 kB / 0.5405 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.4624, allocations: 12.84 kB / 0.5405 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4624, allocations: 5.719 kB / 0.5405 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.4626, allocations: 37.77 kB / 0.5406 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4626, allocations: 2.656 kB / 0.5406 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.4629, allocations: 25.8 kB / 0.5406 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.463, allocations: 10.59 kB / 0.5406 GB, free: 6.797 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001583/0.4631, allocations: 154.2 kB / 0.5408 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.763e-05/0.4632, allocations: 25.72 kB / 0.5408 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.4637, allocations: 225.5 kB / 0.541 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4637, allocations: 2.75 kB / 0.541 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4637, allocations: 3.984 kB / 0.541 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4638, allocations: 5.328 kB / 0.541 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.4642, allocations: 271.8 kB / 0.5413 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.4642, allocations: 7.5 kB / 0.5413 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.4644, allocations: 31.56 kB / 0.5413 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4644, allocations: 9.438 kB / 0.5413 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.4645, allocations: 2.656 kB / 0.5413 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4645, allocations: 5.516 kB / 0.5413 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4645, allocations: 1.188 kB / 0.5413 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006727/0.4652, allocations: 481.6 kB / 0.5418 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-05/0.4653, allocations: 104.9 kB / 0.5419 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.4653, allocations: 9.688 kB / 0.5419 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.4656, allocations: 13.11 kB / 0.5419 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.4656, allocations: 15.33 kB / 0.5419 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.4657, allocations: 8.391 kB / 0.5419 GB, free: 5.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.4659, allocations: 208.1 kB / 0.5421 GB, free: 5.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4659, allocations: 0 / 0.5421 GB, free: 5.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004933/0.4664, allocations: 72.72 kB / 0.5422 GB, free: 5.555 MB / 398.1 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003331/0.4667, allocations: 164.3 kB / 0.5424 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007274/0.4674, allocations: 273.6 kB / 0.5426 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4675, allocations: 0 / 0.5426 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.4678, allocations: 188.9 kB / 0.5428 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.4684, allocations: 47.42 kB / 0.5428 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.4694, allocations: 0.498 MB / 0.5433 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.4698, allocations: 0.76 MB / 0.5441 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.284e-05/0.4699, allocations: 17.22 kB / 0.5441 GB, free: 4.012 MB / 398.1 MB Notification: Performance of SimCode: time 1.974e-06/0.4699, allocations: 0 / 0.5441 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Templates: time 0.007377/0.4773, allocations: 3.911 MB / 0.5479 GB, free: 0.5938 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches