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.001036/0.001036, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001101/0.0011, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2351/0.2351, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3944, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.004703/0.3991, allocations: 1.778 MB / 0.5202 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.4009, allocations: 0.7908 MB / 0.5209 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.4011, allocations: 5.719 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.4014, allocations: 42.47 kB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.4019, allocations: 63.88 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.4023, allocations: 81.22 kB / 0.5211 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.4026, allocations: 146 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.73e-05/0.4027, allocations: 14.08 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.4029, allocations: 65.22 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.4031, allocations: 77.22 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.4031, allocations: 8 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.4035, allocations: 156 kB / 0.5216 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.4036, allocations: 44.44 kB / 0.5216 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.4037, allocations: 50.69 kB / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.4041, allocations: 203.7 kB / 0.5219 GB, free: 1.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4041, allocations: 0 / 0.5219 GB, free: 1.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4041, allocations: 0 / 0.5219 GB, free: 1.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.4041, allocations: 0 / 0.5219 GB, free: 1.121 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.000735/0.4049, allocations: 455.5 kB / 0.5223 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4049, allocations: 11.22 kB / 0.5223 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.099e-05/0.405, allocations: 41.3 kB / 0.5223 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.4051, allocations: 14.94 kB / 0.5224 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.4053, allocations: 203.4 kB / 0.5226 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4053, allocations: 4.688 kB / 0.5226 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.4054, allocations: 18.42 kB / 0.5226 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.4058, allocations: 166.1 kB / 0.5227 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4058, allocations: 0 / 0.5227 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4058, allocations: 5.438 kB / 0.5227 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.4059, allocations: 20.19 kB / 0.5228 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.4063, allocations: 161 kB / 0.5229 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009579/0.4072, allocations: 488.2 kB / 0.5234 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.4077, allocations: 162.5 kB / 0.5235 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.4079, allocations: 57.94 kB / 0.5236 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.4079, allocations: 0.75 kB / 0.5236 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.408, allocations: 32.5 kB / 0.5236 GB, free: 15.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.408, allocations: 0 / 0.5236 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006001/0.4086, allocations: 201.8 kB / 0.5238 GB, free: 15.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.4086, allocations: 57.06 kB / 0.5239 GB, free: 15.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.4088, allocations: 200.8 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4089, allocations: 29.7 kB / 0.5241 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.4089, allocations: 115.1 kB / 0.5242 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.409, allocations: 30.39 kB / 0.5242 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.4091, allocations: 26.83 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4092, allocations: 331 kB / 0.5246 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.4094, allocations: 58.86 kB / 0.5246 GB, free: 15.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.4096, allocations: 71.22 kB / 0.5247 GB, free: 15.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.4099, allocations: 133.6 kB / 0.5248 GB, free: 15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4099, allocations: 0 / 0.5248 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003914/0.4103, allocations: 162.7 kB / 0.525 GB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4103, allocations: 6.156 kB / 0.525 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4103, allocations: 1.812 kB / 0.525 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4104, allocations: 1.938 kB / 0.525 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.4106, allocations: 51.78 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007597/0.4114, allocations: 1.218 MB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.4116, allocations: 13.34 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.4116, allocations: 7.453 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.0002211/0.4118, allocations: 142.8 kB / 0.5264 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.4119, allocations: 18.62 kB / 0.5264 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004626/0.4123, allocations: 186.4 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4123, allocations: 1.375 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4124, allocations: 0.7031 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4124, allocations: 1.375 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.4127, allocations: 227.7 kB / 0.5268 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4127, allocations: 0.7969 kB / 0.5268 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.4129, allocations: 46.28 kB / 0.5268 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4129, allocations: 5.312 kB / 0.5268 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4129, allocations: 6.688 kB / 0.5268 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007784/0.4137, allocations: 1.221 MB / 0.528 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4137, allocations: 5.438 kB / 0.528 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.4142, allocations: 242.2 kB / 0.5283 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.4142, allocations: 90.41 kB / 0.5284 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.4143, allocations: 14.09 kB / 0.5284 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.4144, allocations: 6.188 kB / 0.5284 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.4145, allocations: 10.84 kB / 0.5284 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4145, allocations: 7.453 kB / 0.5284 GB, free: 11.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.4146, allocations: 147.5 kB / 0.5285 GB, free: 11.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4146, allocations: 1.375 kB / 0.5285 GB, free: 11.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.415, allocations: 45.88 kB / 0.5286 GB, free: 11.7 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.0008789/0.4158, allocations: 0.8073 MB / 0.5294 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005157/0.4164, allocations: 154.9 kB / 0.5295 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4164, allocations: 0 / 0.5295 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.4167, allocations: 88.39 kB / 0.5296 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.417, allocations: 26.42 kB / 0.5296 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.4197, allocations: 2.162 MB / 0.5317 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.42, allocations: 0.7269 MB / 0.5325 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.4201, allocations: 41 kB / 0.5325 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.4202, allocations: 33.92 kB / 0.5325 GB, free: 8.488 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4202, allocations: 0 / 0.5325 GB, free: 8.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.4444, allocations: 4.71 MB / 0.5371 GB, free: 6.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.53, allocations: 17.77 kB / 0.5371 GB, free: 6.18 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