Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001761/0.001761, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002138/0.002138, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.1 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.56 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 62.45 MB / 480.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003118/0.1277, allocations: 1.702 MB / 481.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1291, allocations: 0.7595 MB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.1292, allocations: 0 / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1295, allocations: 35.75 kB / 482.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.1298, allocations: 63.72 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1301, allocations: 67.12 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.1303, allocations: 159.3 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.1304, allocations: 13.41 kB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1305, allocations: 59.7 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1307, allocations: 71.73 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1307, allocations: 4 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.131, allocations: 87.73 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.131, allocations: 39.83 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.1311, allocations: 63.61 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1315, allocations: 183.6 kB / 483.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1315, allocations: 0 / 483.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1315, allocations: 0 / 483.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1315, allocations: 4 kB / 483.5 MB, free: 1.879 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.0007784/0.1323, allocations: 458.8 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1323, allocations: 8.031 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/0.1324, allocations: 46.73 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/0.1331, allocations: 88.56 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1334, allocations: 232 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1334, allocations: 4.375 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.1334, allocations: 8.375 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.134, allocations: 307.8 kB / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.134, allocations: 0 / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.1341, allocations: 4 kB / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.1341, allocations: 15.98 kB / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.1347, allocations: 299.7 kB / 484.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.1362, allocations: 0.7121 MB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/0.1368, allocations: 282.2 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.137, allocations: 100.8 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.137, allocations: 0 / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1371, allocations: 38.5 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.1371, allocations: 4 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.000873/0.1379, allocations: 345.1 kB / 486.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.138, allocations: 55.41 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.1382, allocations: 222.3 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1383, allocations: 25.7 kB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.1384, allocations: 132 kB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.1384, allocations: 43.3 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.1385, allocations: 45.69 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1386, allocations: 334.8 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.1389, allocations: 95.88 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.1391, allocations: 134.1 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/0.1396, allocations: 243.1 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.1396, allocations: 112 / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006054/0.1402, allocations: 300.8 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1403, allocations: 8.094 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1403, allocations: 7.984 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1403, allocations: 0 / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0198/0.1601, allocations: 0.9163 MB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02302/0.1832, allocations: 10.75 MB / 499.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.1836, allocations: 19.86 kB / 499.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.1836, allocations: 15.98 kB / 499.7 MB, free: 0.5586 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.0001949/0.1838, allocations: 141.7 kB / 499.8 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.1839, allocations: 15.81 kB / 499.8 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00675/0.1907, allocations: 0.6337 MB / 0.4887 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1907, allocations: 0 / 0.4887 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1907, allocations: 0 / 0.4887 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1907, allocations: 0 / 0.4887 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.1911, allocations: 277.4 kB / 0.489 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1911, allocations: 0 / 0.489 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.1913, allocations: 35.91 kB / 0.489 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005076/0.1964, allocations: 310.1 kB / 0.4893 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.1965, allocations: 15.97 kB / 0.4893 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/0.2135, allocations: 10.31 MB / 0.4994 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.2136, allocations: 4 kB / 0.4994 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006473/0.2201, allocations: 0.6731 MB / 0.5001 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.2202, allocations: 100.8 kB / 0.5002 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.2203, allocations: 0 / 0.5002 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.2206, allocations: 11.98 kB / 0.5002 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.2208, allocations: 47.78 kB / 0.5002 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.2208, allocations: 15.97 kB / 0.5002 GB, free: 3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.221, allocations: 171.2 kB / 0.5004 GB, free: 2.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.02e-07/0.221, allocations: 0 / 0.5004 GB, free: 2.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006901/0.2217, allocations: 88 kB / 0.5005 GB, free: 2.746 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.00698/0.2287, allocations: 1.228 MB / 0.5017 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01961/0.2484, allocations: 1.139 MB / 0.5028 GB, free: 352 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.2484, allocations: 0 / 0.5028 GB, free: 352 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2041/0.4525, allocations: 0.52 MB / 0.5033 GB, free: 41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.4532, allocations: 34.88 kB / 0.5033 GB, free: 41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.4595, allocations: 2.775 MB / 0.506 GB, free: 39.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.4599, allocations: 0.7451 MB / 0.5068 GB, free: 39.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.4601, allocations: 49.86 kB / 0.5068 GB, free: 39.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4602, allocations: 52.98 kB / 0.5069 GB, free: 39.02 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4602, allocations: 0 / 0.5069 GB, free: 39.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.4964, allocations: 9.824 MB / 0.5165 GB, free: 37.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.98, allocations: 13.69 kB / 0.5165 GB, free: 37.07 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches