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.001548/0.001548, allocations: 116.2 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, 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.2163/0.2163, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 76.11 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4069, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.004194/0.4111, allocations: 1.919 MB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.4134, allocations: 1.164 MB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.4136, allocations: 5.312 kB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.414, allocations: 52.05 kB / 0.5347 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.4143, allocations: 59.97 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.415, allocations: 185.4 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.4154, allocations: 223.3 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.4155, allocations: 22.91 kB / 0.5352 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.4158, allocations: 92.58 kB / 0.5353 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.4161, allocations: 109.9 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.4161, allocations: 8.281 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005378/0.4167, allocations: 252.4 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.4168, allocations: 58.09 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.417, allocations: 100.6 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000626/0.4176, allocations: 321 kB / 0.5361 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4176, allocations: 3.984 kB / 0.5361 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4176, allocations: 3.938 kB / 0.5361 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.4176, allocations: 1 kB / 0.5361 GB, free: 10.27 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.001357/0.419, allocations: 0.5562 MB / 0.5367 GB, free: 9.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4191, allocations: 13.62 kB / 0.5367 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/0.4195, allocations: 55.42 kB / 0.5367 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.4199, allocations: 240.2 kB / 0.537 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.4199, allocations: 14.2 kB / 0.537 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.42, allocations: 17.94 kB / 0.537 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.4207, allocations: 275.7 kB / 0.5373 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.4207, allocations: 3.984 kB / 0.5373 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.4207, allocations: 6.125 kB / 0.5373 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.4208, allocations: 10 kB / 0.5373 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.4214, allocations: 231.8 kB / 0.5375 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.4227, allocations: 0.7634 MB / 0.5382 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005979/0.4233, allocations: 228.5 kB / 0.5385 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.4236, allocations: 108.1 kB / 0.5386 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.4237, allocations: 2.062 kB / 0.5386 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.4237, allocations: 44.95 kB / 0.5386 GB, free: 8.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.4237, allocations: 0 / 0.5386 GB, free: 8.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.00098/0.4247, allocations: 320.5 kB / 0.5389 GB, free: 8.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.4248, allocations: 104.2 kB / 0.539 GB, free: 7.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.4251, allocations: 283.7 kB / 0.5393 GB, free: 7.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.4252, allocations: 25.7 kB / 0.5393 GB, free: 7.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4253, allocations: 139 kB / 0.5394 GB, free: 7.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.4253, allocations: 50.11 kB / 0.5395 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.4254, allocations: 40.91 kB / 0.5395 GB, free: 7.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4256, allocations: 337 kB / 0.5398 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.4259, allocations: 81.19 kB / 0.5399 GB, free: 7.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.4262, allocations: 123.2 kB / 0.54 GB, free: 7.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005858/0.4268, allocations: 225.1 kB / 0.5403 GB, free: 6.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4268, allocations: 0 / 0.5403 GB, free: 6.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007177/0.4275, allocations: 260.2 kB / 0.5405 GB, free: 6.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.4276, allocations: 9.062 kB / 0.5405 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/0.4276, allocations: 13.77 kB / 0.5405 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4276, allocations: 9.469 kB / 0.5405 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.4278, allocations: 34.19 kB / 0.5406 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4279, allocations: 1.406 kB / 0.5406 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.4281, allocations: 34.97 kB / 0.5406 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.4281, allocations: 5.688 kB / 0.5406 GB, free: 6.812 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.0001547/0.4283, allocations: 150.8 kB / 0.5408 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.4284, allocations: 29.75 kB / 0.5408 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.4289, allocations: 228.3 kB / 0.541 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4289, allocations: 3.281 kB / 0.541 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.429, allocations: 5.016 kB / 0.541 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.429, allocations: 0.9375 kB / 0.541 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.4294, allocations: 267 kB / 0.5413 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/0.4294, allocations: 12.41 kB / 0.5413 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.4296, allocations: 30.61 kB / 0.5413 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.4296, allocations: 9.156 kB / 0.5413 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.4297, allocations: 7.5 kB / 0.5413 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4297, allocations: 1.188 kB / 0.5413 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4297, allocations: 5.156 kB / 0.5413 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007114/0.4304, allocations: 477.5 kB / 0.5418 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.533e-05/0.4305, allocations: 105.2 kB / 0.5419 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.4306, allocations: 4.562 kB / 0.5419 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.4309, allocations: 22.56 kB / 0.5419 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.431, allocations: 14.64 kB / 0.5419 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.431, allocations: 3.875 kB / 0.5419 GB, free: 5.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.4312, allocations: 204.8 kB / 0.5421 GB, free: 5.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4312, allocations: 1.719 kB / 0.5421 GB, free: 5.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005193/0.4317, allocations: 79.48 kB / 0.5422 GB, free: 5.566 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.0003554/0.4321, allocations: 155.5 kB / 0.5423 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007118/0.4328, allocations: 278.5 kB / 0.5426 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4328, allocations: 320 / 0.5426 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.4332, allocations: 184.1 kB / 0.5428 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.4338, allocations: 49.2 kB / 0.5428 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.4348, allocations: 0.4999 MB / 0.5433 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.4352, allocations: 0.7557 MB / 0.5441 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.4353, allocations: 22.7 kB / 0.5441 GB, free: 4.023 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4353, allocations: 3.938 kB / 0.5441 GB, free: 4.02 MB / 398.1 MB Notification: Performance of Templates: time 0.007337/0.4427, allocations: 3.901 MB / 0.5479 GB, free: 0.6133 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