Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 104.8 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 189.2 kB / 24.51 MB, free: 4.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 44.9 MB / 353.5 MB, free: 11.81 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.0.0_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=5004,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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003127/0.003127, allocations: 71.88 kB / 497.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4114, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.004386/0.4158, allocations: 1.802 MB / 0.5506 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.4179, allocations: 0.8034 MB / 0.5514 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/0.418, allocations: 1.375 kB / 0.5514 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.4183, allocations: 48.36 kB / 0.5514 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.4187, allocations: 75.36 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.4191, allocations: 75.91 kB / 0.5516 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.4194, allocations: 152 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.4195, allocations: 8.469 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.4197, allocations: 66.77 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.42, allocations: 75.52 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.42, allocations: 4.469 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000473/0.4205, allocations: 164 kB / 0.552 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.4206, allocations: 45.98 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.4207, allocations: 54.05 kB / 0.5521 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005162/0.4212, allocations: 203.2 kB / 0.5523 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4213, allocations: 0 / 0.5523 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4213, allocations: 1.188 kB / 0.5523 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.4213, allocations: 0 / 0.5523 GB, free: 10.52 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.001043/0.4223, allocations: 372.5 kB / 0.5527 GB, free: 10.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/0.4224, allocations: 9.891 kB / 0.5527 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.4224, allocations: 23 kB / 0.5527 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.4228, allocations: 152.6 kB / 0.5528 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.4228, allocations: 8.438 kB / 0.5529 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.4229, allocations: 11.22 kB / 0.5529 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.4234, allocations: 165.3 kB / 0.553 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4234, allocations: 0 / 0.553 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.4234, allocations: 5.016 kB / 0.553 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/0.4234, allocations: 21.36 kB / 0.553 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.424, allocations: 167.2 kB / 0.5532 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.4251, allocations: 462.1 kB / 0.5536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.4257, allocations: 147.7 kB / 0.5538 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.4259, allocations: 52.89 kB / 0.5538 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.426, allocations: 6.844 kB / 0.5538 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.426, allocations: 38.5 kB / 0.5539 GB, free: 9.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.426, allocations: 0 / 0.5539 GB, free: 9.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008249/0.4268, allocations: 198.6 kB / 0.5541 GB, free: 9.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.4269, allocations: 52.88 kB / 0.5541 GB, free: 9.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.4272, allocations: 201.7 kB / 0.5543 GB, free: 8.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.4272, allocations: 26.92 kB / 0.5543 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4273, allocations: 110.8 kB / 0.5544 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.4274, allocations: 32.58 kB / 0.5545 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.4275, allocations: 27.69 kB / 0.5545 GB, free: 8.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.4277, allocations: 334.4 kB / 0.5548 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.4279, allocations: 45.52 kB / 0.5549 GB, free: 8.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.4281, allocations: 79.2 kB / 0.5549 GB, free: 8.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.4286, allocations: 123.7 kB / 0.5551 GB, free: 8.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4286, allocations: 1.188 kB / 0.5551 GB, free: 8.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005652/0.4291, allocations: 177.5 kB / 0.5552 GB, free: 8.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.4292, allocations: 5.031 kB / 0.5552 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4292, allocations: 1.281 kB / 0.5552 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.4292, allocations: 1.156 kB / 0.5552 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.4296, allocations: 44.72 kB / 0.5553 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.4308, allocations: 1.22 MB / 0.5565 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.431, allocations: 22.84 kB / 0.5565 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.431, allocations: 3.438 kB / 0.5565 GB, free: 6.957 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.0003191/0.4313, allocations: 135 kB / 0.5566 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.4314, allocations: 26.25 kB / 0.5567 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006494/0.4321, allocations: 190.2 kB / 0.5568 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4321, allocations: 1.156 kB / 0.5568 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4321, allocations: 0 / 0.5568 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4321, allocations: 1.125 kB / 0.5568 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.4325, allocations: 192.7 kB / 0.557 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4325, allocations: 3.938 kB / 0.557 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.4329, allocations: 48.47 kB / 0.5571 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4329, allocations: 0 / 0.5571 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.4329, allocations: 1.594 kB / 0.5571 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.4341, allocations: 1.225 MB / 0.5583 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.4341, allocations: 4 kB / 0.5583 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.4347, allocations: 254 kB / 0.5585 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.4347, allocations: 16.62 kB / 0.5585 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.4348, allocations: 9.062 kB / 0.5585 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.435, allocations: 16.47 kB / 0.5586 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.435, allocations: 6.391 kB / 0.5586 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.435, allocations: 3.562 kB / 0.5586 GB, free: 5.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.4353, allocations: 156.7 kB / 0.5587 GB, free: 4.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4353, allocations: 4 kB / 0.5587 GB, free: 4.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005673/0.4358, allocations: 41.72 kB / 0.5588 GB, free: 4.879 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.0003444/0.4362, allocations: 126.6 kB / 0.5589 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007258/0.4369, allocations: 143.8 kB / 0.559 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4369, allocations: 0 / 0.559 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.4373, allocations: 91.86 kB / 0.5591 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.4378, allocations: 15.98 kB / 0.5591 GB, free: 4.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4389, allocations: 356.1 kB / 0.5595 GB, free: 4.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.4394, allocations: 0.7279 MB / 0.5602 GB, free: 3.375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000147/0.4395, allocations: 33.42 kB / 0.5602 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.4396, allocations: 11.44 kB / 0.5602 GB, free: 3.332 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4396, allocations: 0 / 0.5602 GB, free: 3.332 MB / 398.1 MB Notification: Performance of Templates: time 0.01081/0.4504, allocations: 2.708 MB / 0.5629 GB, free: 0.6797 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.326819815672934]