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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 110.4 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 187.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1984/0.1984, allocations: 44.18 MB / 336.7 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.00132, allocations: 63.91 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3408, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003578/0.3445, allocations: 1.769 MB / 0.5202 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3459, allocations: 0.7911 MB / 0.5209 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.346, allocations: 1.562 kB / 0.5209 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.3463, allocations: 42.16 kB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.3466, allocations: 68.11 kB / 0.521 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.3469, allocations: 81.95 kB / 0.5211 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.3471, allocations: 145.8 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.3472, allocations: 18.41 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3474, allocations: 65.23 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3475, allocations: 72.8 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.3476, allocations: 4.438 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.3479, allocations: 151.8 kB / 0.5216 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.885e-05/0.348, allocations: 44.08 kB / 0.5216 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.3481, allocations: 54.2 kB / 0.5217 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.3484, allocations: 199.8 kB / 0.5218 GB, free: 1.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3484, allocations: 4.609 kB / 0.5219 GB, free: 1.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3484, allocations: 0 / 0.5219 GB, free: 1.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3484, allocations: 1.219 kB / 0.5219 GB, free: 1.133 MB / 382.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.0006557/0.3491, allocations: 447 kB / 0.5223 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3492, allocations: 9.062 kB / 0.5223 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.3492, allocations: 46.12 kB / 0.5223 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.3493, allocations: 15.44 kB / 0.5223 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.3495, allocations: 202.4 kB / 0.5225 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3495, allocations: 9.375 kB / 0.5226 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.3495, allocations: 19.12 kB / 0.5226 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.3499, allocations: 165 kB / 0.5227 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3499, allocations: 4 kB / 0.5227 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.3499, allocations: 5.484 kB / 0.5227 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.35, allocations: 19.83 kB / 0.5228 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.3504, allocations: 166.9 kB / 0.5229 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.3512, allocations: 487.1 kB / 0.5234 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.3516, allocations: 163.4 kB / 0.5235 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.3518, allocations: 56.55 kB / 0.5236 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.3518, allocations: 5.891 kB / 0.5236 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3519, allocations: 36.58 kB / 0.5236 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.3519, allocations: 0 / 0.5236 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005502/0.3524, allocations: 197.5 kB / 0.5238 GB, free: 15.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3525, allocations: 56.81 kB / 0.5239 GB, free: 15.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.3527, allocations: 199.9 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3527, allocations: 31.83 kB / 0.5241 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.3528, allocations: 114.1 kB / 0.5242 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.3528, allocations: 30.44 kB / 0.5242 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.3529, allocations: 25.69 kB / 0.5243 GB, free: 15.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.353, allocations: 335.7 kB / 0.5246 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3532, allocations: 46.14 kB / 0.5246 GB, free: 15.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.3533, allocations: 72.94 kB / 0.5247 GB, free: 15.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.3536, allocations: 132.3 kB / 0.5248 GB, free: 15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3536, allocations: 0 / 0.5248 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003684/0.354, allocations: 163.5 kB / 0.525 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.354, allocations: 9.156 kB / 0.525 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.354, allocations: 2.016 kB / 0.525 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3541, allocations: 1 kB / 0.525 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.3543, allocations: 48.62 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007554/0.3551, allocations: 1.219 MB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.3553, allocations: 16.34 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.3553, allocations: 7.344 kB / 0.5262 GB, free: 13.73 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.0001968/0.3555, allocations: 138.6 kB / 0.5264 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.3555, allocations: 19.39 kB / 0.5264 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/0.356, allocations: 178 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.356, allocations: 5.406 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.356, allocations: 1.75 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.356, allocations: 0.6094 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.3563, allocations: 234.8 kB / 0.5268 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3563, allocations: 1.969 kB / 0.5268 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.3566, allocations: 42.55 kB / 0.5268 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3566, allocations: 4.734 kB / 0.5268 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3566, allocations: 5.469 kB / 0.5268 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006549/0.3573, allocations: 1.226 MB / 0.528 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3573, allocations: 1.312 kB / 0.528 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.3577, allocations: 246.9 kB / 0.5283 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.3577, allocations: 91.11 kB / 0.5284 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.3578, allocations: 7.938 kB / 0.5284 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3579, allocations: 10.92 kB / 0.5284 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.358, allocations: 7.203 kB / 0.5284 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.358, allocations: 2.219 kB / 0.5284 GB, free: 11.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.3581, allocations: 152.8 kB / 0.5285 GB, free: 11.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3581, allocations: 0 / 0.5285 GB, free: 11.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.3585, allocations: 46.88 kB / 0.5286 GB, free: 11.71 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.0007961/0.3593, allocations: 0.807 MB / 0.5294 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005135/0.3598, allocations: 156 kB / 0.5295 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3598, allocations: 0 / 0.5295 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.3601, allocations: 87.22 kB / 0.5296 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3604, allocations: 31.31 kB / 0.5296 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.3632, allocations: 2.159 MB / 0.5317 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3635, allocations: 0.7265 MB / 0.5325 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.3636, allocations: 37.72 kB / 0.5325 GB, free: 8.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.3637, allocations: 37.61 kB / 0.5325 GB, free: 8.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3637, allocations: 0 / 0.5325 GB, free: 8.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.387, allocations: 4.713 MB / 0.5371 GB, free: 6.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.39, allocations: 5.438 kB / 0.5371 GB, free: 6.199 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches