Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_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.001147/0.001147, allocations: 106.5 kB / 17.2 MB, free: 6.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.001145/0.001145, allocations: 194 kB / 18.12 MB, free: 5.383 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.278/1.278, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.1821/0.1821, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.12 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09559, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002511/0.09813, allocations: 1.75 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.09912, allocations: 0.7168 MB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.09917, allocations: 4 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.09937, allocations: 27.83 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.0996, allocations: 63.77 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.09976, allocations: 51.81 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.1, allocations: 247.2 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.1, allocations: 13.41 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.1001, allocations: 55.78 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1002, allocations: 79.66 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1003, allocations: 4 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1004, allocations: 79.81 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.1005, allocations: 51.81 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.1006, allocations: 67.55 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1008, allocations: 171.7 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1008, allocations: 0 / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1008, allocations: 0 / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1008, allocations: 0 / 472 MB, free: 11.34 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005576/0.1014, allocations: 462.8 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1014, allocations: 8.031 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.1015, allocations: 50.73 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005886/0.1021, allocations: 80.64 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1023, allocations: 224 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1023, allocations: 8.375 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.1023, allocations: 16.36 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005593/0.1029, allocations: 296 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1029, allocations: 0 / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.103, allocations: 8 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.103, allocations: 15.98 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005319/0.1036, allocations: 308.1 kB / 473.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1048, allocations: 0.7158 MB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.1052, allocations: 274.2 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.1054, allocations: 104.7 kB / 474.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1055, allocations: 7.984 kB / 474.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.1055, allocations: 30.56 kB / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1055, allocations: 4 kB / 474.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000718/0.1062, allocations: 351.7 kB / 474.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1063, allocations: 55.41 kB / 475 MB, free: 8.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1064, allocations: 222.4 kB / 475.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1065, allocations: 25.7 kB / 475.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.1065, allocations: 123.9 kB / 475.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.1066, allocations: 51.3 kB / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/0.1067, allocations: 45.67 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1068, allocations: 326.8 kB / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.107, allocations: 95.88 kB / 475.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.1072, allocations: 135.3 kB / 476 MB, free: 7.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.1076, allocations: 247.1 kB / 476.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1077, allocations: 0 / 476.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005263/0.1082, allocations: 297.2 kB / 476.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1082, allocations: 4 kB / 476.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1082, allocations: 0 / 476.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1082, allocations: 4 kB / 476.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01935/0.1276, allocations: 0.928 MB / 477.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/0.1471, allocations: 9.947 MB / 487.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.1474, allocations: 23.77 kB / 487.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.1474, allocations: 11.98 kB / 487.4 MB, free: 10.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.1476, allocations: 146 kB / 487.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.1477, allocations: 19.69 kB / 487.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006254/0.1539, allocations: 0.6298 MB / 488.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.1539, allocations: 4 kB / 488.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.154, allocations: 0 / 488.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.154, allocations: 3.938 kB / 488.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1543, allocations: 273.4 kB / 488.5 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1543, allocations: 4 kB / 488.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.1545, allocations: 35.95 kB / 488.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006883/0.1614, allocations: 429.9 kB / 489 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.1614, allocations: 11.97 kB / 489 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/0.1755, allocations: 9.542 MB / 498.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1756, allocations: 4.062 kB / 498.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005993/0.1816, allocations: 0.6757 MB / 499.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.1817, allocations: 96.86 kB / 499.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.1817, allocations: 11.94 kB / 499.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.1819, allocations: 7.984 kB / 499.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.1821, allocations: 47.84 kB / 499.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.1821, allocations: 19.91 kB / 499.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1823, allocations: 172.2 kB / 499.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1823, allocations: 0 / 499.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005503/0.1828, allocations: 92 kB / 499.6 MB, free: 13.71 MB / 382.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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00635/0.1892, allocations: 1.226 MB / 0.4891 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0184/0.2076, allocations: 1.118 MB / 0.4902 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.2076, allocations: 0 / 0.4902 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.2094, allocations: 0.531 MB / 0.4907 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.2098, allocations: 35.98 kB / 0.4908 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.2146, allocations: 2.831 MB / 0.4935 GB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2149, allocations: 0.7518 MB / 0.4943 GB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.215, allocations: 49.52 kB / 0.4943 GB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.2151, allocations: 47.42 kB / 0.4944 GB, free: 6.914 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2151, allocations: 0 / 0.4944 GB, free: 6.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.351/2.566, allocations: 9.347 MB / 0.5035 GB, free: 49.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/2.567, allocations: 279.2 kB / 0.5038 GB, free: 48.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/4.59, allocations: 0 / 0.5038 GB, free: 48.71 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches