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.001087/0.001087, allocations: 118.3 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.001356/0.001356, allocations: 210.7 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.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 71.89 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3783, 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_evenGapTurbulent_KC): time 0.004408/0.3827, allocations: 1.792 MB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.3848, allocations: 0.846 MB / 0.5343 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-05/0.3849, allocations: 3.938 kB / 0.5343 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.3853, allocations: 41.25 kB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.3856, allocations: 66.95 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.386, allocations: 87.77 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.3863, allocations: 148.6 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.3864, allocations: 12.94 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.3867, allocations: 67.38 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.3869, allocations: 77.88 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.3869, allocations: 5.5 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.3873, allocations: 165.7 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.168e-05/0.3874, allocations: 37.62 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.3875, allocations: 54.92 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.388, allocations: 203.1 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.388, allocations: 0 / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.388, allocations: 5.359 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.388, allocations: 0 / 0.5352 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.0009288/0.389, allocations: 449.7 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/0.389, allocations: 8.219 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.3891, allocations: 19.25 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.3894, allocations: 196.3 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3895, allocations: 11.58 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.3895, allocations: 14.88 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.39, allocations: 173.6 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3901, allocations: 7.984 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.3901, allocations: 5.062 kB / 0.536 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/0.3901, allocations: 14.73 kB / 0.5361 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.3908, allocations: 161.7 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3919, allocations: 483.9 kB / 0.5367 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.3925, allocations: 161.8 kB / 0.5368 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.3927, allocations: 55.25 kB / 0.5369 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.3927, allocations: 6.25 kB / 0.5369 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3928, allocations: 35.72 kB / 0.5369 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.3928, allocations: 0 / 0.5369 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007892/0.3936, allocations: 203.4 kB / 0.5371 GB, free: 9.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.3936, allocations: 51.41 kB / 0.5372 GB, free: 9.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.3939, allocations: 207.2 kB / 0.5374 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.394, allocations: 31.08 kB / 0.5374 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.3941, allocations: 109.5 kB / 0.5375 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.3941, allocations: 28.69 kB / 0.5375 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.3942, allocations: 30.98 kB / 0.5376 GB, free: 8.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3944, allocations: 327.7 kB / 0.5379 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.3946, allocations: 52.81 kB / 0.5379 GB, free: 8.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.3948, allocations: 67.62 kB / 0.538 GB, free: 8.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.3952, allocations: 139.7 kB / 0.5381 GB, free: 8.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3953, allocations: 1.344 kB / 0.5381 GB, free: 8.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005203/0.3958, allocations: 164.7 kB / 0.5383 GB, free: 8.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3958, allocations: 6.156 kB / 0.5383 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3958, allocations: 0.75 kB / 0.5383 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3959, allocations: 0.9375 kB / 0.5383 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.3963, allocations: 49.09 kB / 0.5383 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009638/0.3972, allocations: 1.225 MB / 0.5395 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.3974, allocations: 18.5 kB / 0.5395 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.3974, allocations: 7.406 kB / 0.5395 GB, free: 7.18 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.0002431/0.3977, allocations: 135.6 kB / 0.5397 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.3978, allocations: 13.62 kB / 0.5397 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006249/0.3984, allocations: 185.8 kB / 0.5399 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3984, allocations: 5.078 kB / 0.5399 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3984, allocations: 4 kB / 0.5399 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.3985, allocations: 93.39 kB / 0.54 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.3986, allocations: 1.125 kB / 0.54 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.3988, allocations: 12.11 kB / 0.54 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.3988, allocations: 7.25 kB / 0.54 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008587/0.3997, allocations: 280.8 kB / 0.5403 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008487/0.4006, allocations: 394.2 kB / 0.5406 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002238/0.4008, allocations: 60.62 kB / 0.5407 GB, free: 6.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.401, allocations: 148.6 kB / 0.5408 GB, free: 6.184 MB / 398.1 MB Notification: Performance of Backend: time 6.91e-07/0.401, allocations: 0 / 0.5408 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.402, allocations: 207.1 kB / 0.541 GB, free: 6.062 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008676/0.4029, allocations: 0.7923 MB / 0.5418 GB, free: 5.355 MB / 398.1 MB Notification: Performance of Templates: time 0.009057/0.412, allocations: 2.912 MB / 0.5446 GB, free: 3.938 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/jenkins1/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/jenkins1/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