Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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.001255/0.001255, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2526/0.2526, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 87.16 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1082, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002828/0.1111, allocations: 1.705 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1122, allocations: 0.7517 MB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.1122, allocations: 0 / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.1125, allocations: 39.81 kB / 482.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.1127, allocations: 59.72 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.1129, allocations: 63.73 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.1131, allocations: 155.3 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.1131, allocations: 13.41 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.1132, allocations: 63.7 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1133, allocations: 75.72 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1134, allocations: 7.938 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1135, allocations: 63.89 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.1136, allocations: 51.8 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.1137, allocations: 59.62 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1139, allocations: 175.6 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1139, allocations: 7.984 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1139, allocations: 4 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.114, allocations: 0 / 483.4 MB, free: 1.859 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.0005864/0.1145, allocations: 454.8 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1146, allocations: 15.95 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.1146, allocations: 50.69 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005488/0.1152, allocations: 76.66 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1154, allocations: 224 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1154, allocations: 8.375 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1154, allocations: 4.375 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.1159, allocations: 259.9 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1159, allocations: 0 / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.1159, allocations: 12 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.116, allocations: 19.98 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/0.1164, allocations: 239.7 kB / 484.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1175, allocations: 0.6525 MB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.1179, allocations: 233.8 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.1181, allocations: 80.81 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1181, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1182, allocations: 42.56 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1182, allocations: 0 / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006632/0.1189, allocations: 281.2 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.1189, allocations: 51.41 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1191, allocations: 234.1 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1192, allocations: 25.7 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.1192, allocations: 123.9 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.1193, allocations: 55.22 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.1194, allocations: 41.69 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1195, allocations: 326.8 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1197, allocations: 79.91 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1199, allocations: 111.3 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.1202, allocations: 203.2 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1203, allocations: 3.938 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004803/0.1207, allocations: 256.5 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1208, allocations: 4 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1208, allocations: 0 / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1208, allocations: 4 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/0.1233, allocations: 271.6 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009531/0.1329, allocations: 9.233 MB / 497 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.1332, allocations: 23.86 kB / 497 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1332, allocations: 8 kB / 497.1 MB, free: 3.129 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.0001539/0.1334, allocations: 153.6 kB / 497.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.1334, allocations: 19.88 kB / 497.2 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005054/0.1339, allocations: 238.9 kB / 497.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1339, allocations: 4 kB / 497.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.1339, allocations: 0 / 497.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.134, allocations: 4 kB / 497.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.1342, allocations: 249.3 kB / 497.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1342, allocations: 0 / 497.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.136, allocations: 219.7 kB / 497.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.136, allocations: 4 kB / 497.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.136, allocations: 0 / 497.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007571/0.1436, allocations: 8.748 MB / 0.4948 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1436, allocations: 0 / 0.4948 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.1441, allocations: 295.3 kB / 0.4951 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.1441, allocations: 100.8 kB / 0.4952 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.1442, allocations: 0 / 0.4952 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.1444, allocations: 15.98 kB / 0.4952 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.1445, allocations: 19.97 kB / 0.4952 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1445, allocations: 15.92 kB / 0.4952 GB, free: 8.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.1446, allocations: 179.2 kB / 0.4954 GB, free: 7.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1447, allocations: 0 / 0.4954 GB, free: 7.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.1451, allocations: 68 kB / 0.4955 GB, free: 7.898 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): 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 Backend phase and start with SimCode phase: time 0.0007508/0.1458, allocations: 0.8292 MB / 0.4963 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.1479, allocations: 0.6152 MB / 0.4969 GB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.148, allocations: 7.938 kB / 0.4969 GB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.1493, allocations: 401.8 kB / 0.4973 GB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1496, allocations: 41.94 kB / 0.4973 GB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.1532, allocations: 2.535 MB / 0.4998 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.1536, allocations: 0.7597 MB / 0.5005 GB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004018/0.154, allocations: 117.4 kB / 0.5006 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.1542, allocations: 91.36 kB / 0.5007 GB, free: 2.371 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1542, allocations: 0 / 0.5007 GB, free: 2.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2088/0.3631, allocations: 10.13 MB / 0.5106 GB, free: 41.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.292, allocations: 5.922 kB / 0.5106 GB, free: 41.46 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches