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.001071/0.001071, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001123/0.001123, allocations: 192 kB / 18.56 MB, free: 4.434 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.33/1.33, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.1969/0.1969, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001178, allocations: 64.44 kB / 408.6 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09585, allocations: 60.83 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003352/0.09925, allocations: 1.768 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1006, allocations: 0.7868 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.1007, allocations: 0 / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1009, allocations: 43.73 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1012, allocations: 67.66 kB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1015, allocations: 79.72 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1017, allocations: 151.3 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.1018, allocations: 13.06 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.102, allocations: 67.7 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1021, allocations: 71.73 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.1022, allocations: 7.938 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.1025, allocations: 155.7 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.548e-05/0.1026, allocations: 39.84 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.777e-05/0.1027, allocations: 51.61 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.103, allocations: 207.5 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.103, allocations: 0 / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1031, allocations: 4 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1031, allocations: 4 kB / 472.9 MB, free: 10.71 MB / 350.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.0007563/0.1038, allocations: 442.9 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1039, allocations: 12.03 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.1039, allocations: 46.73 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.104, allocations: 12.75 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1043, allocations: 204.1 kB / 473.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1043, allocations: 4.375 kB / 473.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1043, allocations: 19.92 kB / 473.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.1047, allocations: 177.2 kB / 473.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1047, allocations: 0 / 473.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1048, allocations: 0 / 473.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.1048, allocations: 19.98 kB / 473.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.1051, allocations: 155.9 kB / 474 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007238/0.1059, allocations: 499.9 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.1063, allocations: 154.5 kB / 474.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.1064, allocations: 64.75 kB / 474.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1064, allocations: 0 / 474.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1065, allocations: 38.56 kB / 474.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.71e-07/0.1065, allocations: 3.938 kB / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005396/0.107, allocations: 197.3 kB / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1071, allocations: 51.41 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1072, allocations: 199.5 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1073, allocations: 33.69 kB / 475.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.1073, allocations: 116 kB / 475.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.1074, allocations: 27.56 kB / 475.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.1074, allocations: 29.64 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1076, allocations: 330.8 kB / 475.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1077, allocations: 47.95 kB / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1078, allocations: 70.52 kB / 475.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.1081, allocations: 134.4 kB / 475.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1082, allocations: 0 / 475.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003568/0.1085, allocations: 169.3 kB / 476.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1085, allocations: 6.188 kB / 476.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.1086, allocations: 4.062 kB / 476.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1086, allocations: 0 / 476.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.1088, allocations: 48.44 kB / 476.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006899/0.1095, allocations: 1.219 MB / 477.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.1097, allocations: 23.92 kB / 477.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1097, allocations: 4 kB / 477.4 MB, free: 5.922 MB / 350.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.0001861/0.1099, allocations: 141.7 kB / 477.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.1099, allocations: 19.78 kB / 477.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.1104, allocations: 171 kB / 477.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1104, allocations: 8 kB / 477.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1104, allocations: 0 / 477.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1104, allocations: 7.922 kB / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.1106, allocations: 225.5 kB / 477.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1106, allocations: 96 / 477.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.1109, allocations: 47.91 kB / 478 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1109, allocations: 0 / 478 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1109, allocations: 4 kB / 478 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006235/0.1115, allocations: 1.227 MB / 479.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1115, allocations: 0 / 479.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.1119, allocations: 243.2 kB / 479.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.112, allocations: 97.05 kB / 479.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.112, allocations: 11.94 kB / 479.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1121, allocations: 7.984 kB / 479.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.1122, allocations: 7.984 kB / 479.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.1122, allocations: 4 kB / 479.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1123, allocations: 149.2 kB / 479.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1123, allocations: 0 / 479.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.1126, allocations: 44 kB / 479.8 MB, free: 3.391 MB / 350.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.0007071/0.1133, allocations: 0.8136 MB / 480.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004773/0.1138, allocations: 155.9 kB / 480.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1138, allocations: 0 / 480.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.1141, allocations: 87.88 kB / 480.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.1144, allocations: 33.8 kB / 480.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.1169, allocations: 2.15 MB / 483 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1171, allocations: 0.7239 MB / 483.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.939e-05/0.1172, allocations: 37.05 kB / 483.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.1173, allocations: 39.42 kB / 483.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1173, allocations: 0 / 483.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.924/1.041, allocations: 4.552 MB / 488.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.52, allocations: 12.31 kB / 488.4 MB, free: 10.87 MB / 366.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