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.001594/0.001594, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001836/0.001836, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.371/1.371, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2155/0.2155, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 68.7 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003411/0.1198, allocations: 1.685 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1209, allocations: 0.7283 MB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.1209, allocations: 0 / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.1212, allocations: 31.83 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.1215, allocations: 67.7 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.1217, allocations: 63.75 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.122, allocations: 155.3 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.122, allocations: 13.41 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.1221, allocations: 59.77 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1223, allocations: 75.67 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1223, allocations: 4 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.1225, allocations: 75.81 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.1226, allocations: 47.81 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.346e-05/0.1227, allocations: 63.55 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1229, allocations: 179.7 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.123, allocations: 0 / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.123, allocations: 4 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.123, allocations: 0 / 472.6 MB, free: 10.98 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.0007078/0.1237, allocations: 462.8 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1237, allocations: 8.031 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.1238, allocations: 46.73 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006546/0.1245, allocations: 80.64 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1247, allocations: 228 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1247, allocations: 12.36 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.1248, allocations: 8.375 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.1253, allocations: 300 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1253, allocations: 0 / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.1253, allocations: 3.984 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.1254, allocations: 31.86 kB / 473.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.1259, allocations: 299.7 kB / 474.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.1273, allocations: 0.7119 MB / 474.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.1278, allocations: 286.2 kB / 475.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.128, allocations: 104 kB / 475.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1281, allocations: 0 / 475.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1281, allocations: 38.56 kB / 475.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.1281, allocations: 0 / 475.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007719/0.1289, allocations: 349.1 kB / 475.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1289, allocations: 51.41 kB / 475.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1291, allocations: 226.4 kB / 475.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1291, allocations: 25.7 kB / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1292, allocations: 123.8 kB / 476 MB, free: 7.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.1293, allocations: 47.3 kB / 476 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.1294, allocations: 49.67 kB / 476 MB, free: 7.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.1295, allocations: 330.8 kB / 476.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.1297, allocations: 95.88 kB / 476.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.1299, allocations: 123.3 kB / 476.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.1304, allocations: 255.1 kB / 476.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1304, allocations: 0 / 476.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005809/0.1309, allocations: 289.2 kB / 477.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.131, allocations: 4 kB / 477.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.131, allocations: 8.094 kB / 477.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.131, allocations: 3.938 kB / 477.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01938/0.1504, allocations: 0.9202 MB / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.1716, allocations: 10.74 MB / 488.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.172, allocations: 19.86 kB / 488.8 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.172, allocations: 12.09 kB / 488.8 MB, free: 9.66 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.0001396/0.1721, allocations: 153.6 kB / 489 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.1722, allocations: 15.81 kB / 489 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006392/0.1786, allocations: 0.6298 MB / 489.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1786, allocations: 0 / 489.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1786, allocations: 4 kB / 489.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1786, allocations: 0 / 489.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.179, allocations: 277.4 kB / 489.9 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.179, allocations: 0 / 489.9 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.1792, allocations: 35.95 kB / 489.9 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004837/0.184, allocations: 314 kB / 490.2 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.1841, allocations: 7.984 kB / 490.2 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/0.2006, allocations: 10.3 MB / 0.4888 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2006, allocations: 0 / 0.4888 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006469/0.2071, allocations: 0.6796 MB / 0.4895 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-05/0.2072, allocations: 100.8 kB / 0.4896 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.2073, allocations: 4 kB / 0.4896 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.2075, allocations: 11.98 kB / 0.4896 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.2077, allocations: 43.84 kB / 0.4896 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2077, allocations: 15.98 kB / 0.4896 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.2079, allocations: 167.1 kB / 0.4898 GB, free: 11.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2079, allocations: 0 / 0.4898 GB, free: 11.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005932/0.2085, allocations: 92 kB / 0.4899 GB, free: 11.86 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.006889/0.2154, allocations: 1.229 MB / 0.4911 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01967/0.2351, allocations: 1.149 MB / 0.4922 GB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.2352, allocations: 0 / 0.4922 GB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.2371, allocations: 0.5349 MB / 0.4927 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.2375, allocations: 29.59 kB / 0.4928 GB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.2428, allocations: 2.792 MB / 0.4955 GB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.2432, allocations: 0.748 MB / 0.4962 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.2433, allocations: 41.52 kB / 0.4963 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.2434, allocations: 51.42 kB / 0.4963 GB, free: 5.082 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2434, allocations: 4 kB / 0.4963 GB, free: 5.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2121/0.4555, allocations: 9.796 MB / 0.5059 GB, free: 50.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.69, allocations: 8.422 kB / 0.5059 GB, free: 50.46 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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