Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.Plate.kc_turbulent,tolerance=1e-07,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,tolerance=1e-07,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 117.5 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 204.7 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 79.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4486, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.004804/0.4535, allocations: 1.826 MB / 0.5328 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.456, allocations: 1.032 MB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.4562, allocations: 1.281 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.4565, allocations: 44.89 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003896/0.457, allocations: 63.75 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.4575, allocations: 138.7 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.458, allocations: 218.8 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.543e-05/0.4581, allocations: 11.59 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.4584, allocations: 92.16 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.4586, allocations: 106.5 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.4587, allocations: 8.844 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.4591, allocations: 137.4 kB / 0.5346 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.4592, allocations: 54 kB / 0.5347 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.4594, allocations: 81.47 kB / 0.5347 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.46, allocations: 253.1 kB / 0.535 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.46, allocations: 3.938 kB / 0.535 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.46, allocations: 0 / 0.535 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.4601, allocations: 0 / 0.535 GB, free: 10.66 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00144/0.4615, allocations: 0.534 MB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.4616, allocations: 9.125 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005555/0.4622, allocations: 50.69 kB / 0.5356 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.4625, allocations: 223.7 kB / 0.5358 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.4626, allocations: 10.14 kB / 0.5358 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.4626, allocations: 19.8 kB / 0.5358 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.4634, allocations: 275 kB / 0.5361 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4635, allocations: 0 / 0.5361 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.4635, allocations: 5.219 kB / 0.5361 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.4636, allocations: 11.45 kB / 0.5361 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/0.4643, allocations: 225.4 kB / 0.5363 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.4658, allocations: 0.8128 MB / 0.5371 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.4664, allocations: 185.6 kB / 0.5373 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.4668, allocations: 105.6 kB / 0.5374 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.126e-05/0.4669, allocations: 2.406 kB / 0.5374 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.467, allocations: 31.62 kB / 0.5374 GB, free: 8.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.467, allocations: 0 / 0.5374 GB, free: 8.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001381/0.4684, allocations: 320.5 kB / 0.5377 GB, free: 8.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/0.4685, allocations: 110.2 kB / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.4689, allocations: 259.2 kB / 0.538 GB, free: 8.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.469, allocations: 26.7 kB / 0.5381 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.4692, allocations: 137.3 kB / 0.5382 GB, free: 8.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.4692, allocations: 36.73 kB / 0.5382 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.4694, allocations: 44.05 kB / 0.5383 GB, free: 7.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.4696, allocations: 335.8 kB / 0.5386 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.47, allocations: 91.36 kB / 0.5387 GB, free: 7.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.4704, allocations: 137 kB / 0.5388 GB, free: 7.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/0.4711, allocations: 226.3 kB / 0.539 GB, free: 7.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4712, allocations: 0 / 0.539 GB, free: 7.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009421/0.4721, allocations: 283.7 kB / 0.5393 GB, free: 7.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4721, allocations: 5.719 kB / 0.5393 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/0.4722, allocations: 7.062 kB / 0.5393 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.4722, allocations: 3 kB / 0.5393 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.4725, allocations: 40.92 kB / 0.5394 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.4726, allocations: 7.062 kB / 0.5394 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.4728, allocations: 26.2 kB / 0.5394 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.4729, allocations: 13.86 kB / 0.5394 GB, free: 7.203 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: 0 () * 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.0001806/0.4731, allocations: 145.3 kB / 0.5395 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.4732, allocations: 20.97 kB / 0.5396 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/0.4739, allocations: 226 kB / 0.5398 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.4739, allocations: 2.312 kB / 0.5398 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.474, allocations: 5.188 kB / 0.5398 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.474, allocations: 5.078 kB / 0.5398 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.4746, allocations: 259.1 kB / 0.54 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.337e-05/0.4746, allocations: 9.844 kB / 0.54 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.4749, allocations: 30.81 kB / 0.5401 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4749, allocations: 5.375 kB / 0.5401 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.4749, allocations: 6.891 kB / 0.5401 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.4749, allocations: 1.5 kB / 0.5401 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.4749, allocations: 1.406 kB / 0.5401 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009951/0.4759, allocations: 485.2 kB / 0.5406 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.4761, allocations: 96.39 kB / 0.5406 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.4762, allocations: 6 kB / 0.5407 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.4765, allocations: 21.81 kB / 0.5407 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.4766, allocations: 18.83 kB / 0.5407 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.4767, allocations: 12.47 kB / 0.5407 GB, free: 6.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002905/0.477, allocations: 193.4 kB / 0.5409 GB, free: 5.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.477, allocations: 0 / 0.5409 GB, free: 5.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006633/0.4776, allocations: 74.64 kB / 0.541 GB, free: 5.977 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.0003681/0.478, allocations: 151.7 kB / 0.5411 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009349/0.479, allocations: 289.9 kB / 0.5414 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.479, allocations: 1.156 kB / 0.5414 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.4794, allocations: 181.6 kB / 0.5416 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.4801, allocations: 35.72 kB / 0.5416 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4815, allocations: 451.6 kB / 0.542 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.482, allocations: 0.7442 MB / 0.5427 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.4822, allocations: 38.48 kB / 0.5428 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.4823, allocations: 17 kB / 0.5428 GB, free: 4.5 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4823, allocations: 0 / 0.5428 GB, free: 4.5 MB / 398.1 MB Notification: Performance of Templates: time 0.009203/0.4915, allocations: 3.624 MB / 0.5463 GB, free: 1.57 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches