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.00149/0.00149, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001784, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.9 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.2388/0.2388, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 79.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4159, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002948/0.4189, allocations: 1.783 MB / 0.5328 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.4202, allocations: 0.8414 MB / 0.5336 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.4203, allocations: 1.375 kB / 0.5336 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.4206, allocations: 44.12 kB / 0.5336 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.4209, allocations: 75.58 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.4211, allocations: 76.14 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.4214, allocations: 156.4 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.4214, allocations: 16.86 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.4216, allocations: 71.69 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.4218, allocations: 74.77 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.4218, allocations: 4.406 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.4221, allocations: 165.8 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.4222, allocations: 34.02 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.989e-05/0.4223, allocations: 57.67 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.4226, allocations: 204.2 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4227, allocations: 3.938 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4227, allocations: 0.9688 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.4227, allocations: 0 / 0.5345 GB, free: 10.96 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.0007361/0.4234, allocations: 442.2 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4235, allocations: 9.25 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.4235, allocations: 14.25 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.4238, allocations: 208.6 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.4238, allocations: 16.42 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.4238, allocations: 11 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.4242, allocations: 173.1 kB / 0.5354 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4242, allocations: 0 / 0.5354 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.4242, allocations: 9.359 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.4243, allocations: 13.61 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.4246, allocations: 166.7 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.4254, allocations: 483.1 kB / 0.536 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.4258, allocations: 159 kB / 0.5361 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.426, allocations: 55.66 kB / 0.5362 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.426, allocations: 5.281 kB / 0.5362 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.426, allocations: 36.03 kB / 0.5362 GB, free: 9.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.426, allocations: 0 / 0.5362 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000533/0.4266, allocations: 198.1 kB / 0.5364 GB, free: 9.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.4266, allocations: 52.53 kB / 0.5365 GB, free: 9.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.4268, allocations: 210.7 kB / 0.5367 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.4269, allocations: 30.48 kB / 0.5367 GB, free: 9.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.4269, allocations: 114.6 kB / 0.5368 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.427, allocations: 32.08 kB / 0.5368 GB, free: 9.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.427, allocations: 27.75 kB / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4272, allocations: 326.6 kB / 0.5372 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.4273, allocations: 53.91 kB / 0.5372 GB, free: 8.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.4275, allocations: 75.44 kB / 0.5373 GB, free: 8.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.4277, allocations: 127.7 kB / 0.5374 GB, free: 8.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4278, allocations: 0 / 0.5374 GB, free: 8.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003657/0.4281, allocations: 170.6 kB / 0.5376 GB, free: 8.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4282, allocations: 5 kB / 0.5376 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4282, allocations: 1.344 kB / 0.5376 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4282, allocations: 1.375 kB / 0.5376 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.4285, allocations: 53.06 kB / 0.5377 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006928/0.4292, allocations: 1.224 MB / 0.5388 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.4293, allocations: 18.05 kB / 0.5389 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.4293, allocations: 8.141 kB / 0.5389 GB, free: 7.184 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.0001913/0.4295, allocations: 130.8 kB / 0.539 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.4296, allocations: 14.88 kB / 0.539 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.43, allocations: 189.8 kB / 0.5392 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.43, allocations: 1.125 kB / 0.5392 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.43, allocations: 0 / 0.5392 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4301, allocations: 0.8438 kB / 0.5392 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.4303, allocations: 220.2 kB / 0.5394 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4303, allocations: 8.891 kB / 0.5394 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.4305, allocations: 48.2 kB / 0.5395 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4306, allocations: 1.219 kB / 0.5395 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4306, allocations: 1.094 kB / 0.5395 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006092/0.4312, allocations: 1.224 MB / 0.5407 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4312, allocations: 3.984 kB / 0.5407 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.4316, allocations: 250.4 kB / 0.5409 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.4316, allocations: 93.03 kB / 0.541 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.4317, allocations: 5 kB / 0.541 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4318, allocations: 12.22 kB / 0.541 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.4319, allocations: 11.3 kB / 0.541 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.4319, allocations: 3.219 kB / 0.541 GB, free: 5.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.432, allocations: 148.2 kB / 0.5412 GB, free: 5.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.432, allocations: 1.062 kB / 0.5412 GB, free: 5.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000313/0.4324, allocations: 50.94 kB / 0.5412 GB, free: 5.02 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.0002472/0.4326, allocations: 125.1 kB / 0.5413 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004923/0.4331, allocations: 151.4 kB / 0.5415 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.4331, allocations: 0 / 0.5415 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.4334, allocations: 88.53 kB / 0.5416 GB, free: 4.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.4337, allocations: 25.7 kB / 0.5416 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.4344, allocations: 350.6 kB / 0.5419 GB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.4347, allocations: 0.7341 MB / 0.5426 GB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.291e-05/0.4348, allocations: 37.38 kB / 0.5427 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.4349, allocations: 13.91 kB / 0.5427 GB, free: 3.832 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4349, allocations: 0 / 0.5427 GB, free: 3.832 MB / 398.1 MB Notification: Performance of Templates: time 0.006/0.4409, allocations: 2.648 MB / 0.5453 GB, free: 2.555 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