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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001207/0.001207, allocations: 192 kB / 18.55 MB, free: 4.566 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.394/1.394, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2126/0.2126, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 58.25 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1043, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003343/0.1077, allocations: 1.684 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1089, allocations: 0.7283 MB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.109, allocations: 0 / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1092, allocations: 39.81 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.1095, allocations: 59.72 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.1097, allocations: 59.25 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.11, allocations: 155.3 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.044e-05/0.11, allocations: 17.41 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.36e-05/0.1101, allocations: 59.77 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1103, allocations: 79.66 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1103, allocations: 4 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1105, allocations: 71.81 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.1106, allocations: 39.83 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.323e-05/0.1106, allocations: 67.55 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.1109, allocations: 175.7 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1109, allocations: 0 / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1109, allocations: 4 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1109, allocations: 0 / 472.6 MB, free: 11 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.0006075/0.1116, allocations: 458.8 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1116, allocations: 8.031 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.1117, allocations: 46.73 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005487/0.1122, allocations: 80.66 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1124, allocations: 220 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1125, allocations: 8.375 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1125, allocations: 4.375 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.1129, allocations: 264 kB / 473.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.113, allocations: 0 / 473.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.113, allocations: 8 kB / 473.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/0.113, allocations: 19.92 kB / 473.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.1135, allocations: 243.7 kB / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.1147, allocations: 0.6601 MB / 474.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.1151, allocations: 226.3 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.1153, allocations: 80.83 kB / 474.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1154, allocations: 7.938 kB / 474.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1154, allocations: 34.56 kB / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.1154, allocations: 4 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000731/0.1162, allocations: 285.2 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.1162, allocations: 51.41 kB / 475.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.1166, allocations: 234.2 kB / 475.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.1166, allocations: 25.7 kB / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1167, allocations: 123.9 kB / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.739e-05/0.1168, allocations: 47.28 kB / 475.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.117, allocations: 45.69 kB / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.1172, allocations: 326.8 kB / 476.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.1175, allocations: 79.91 kB / 476.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.1177, allocations: 111.3 kB / 476.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.1182, allocations: 211.1 kB / 476.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1182, allocations: 0 / 476.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006453/0.1188, allocations: 252 kB / 476.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.1189, allocations: 8.094 kB / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1189, allocations: 0 / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1189, allocations: 4 kB / 476.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/0.1214, allocations: 267.5 kB / 477 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009881/0.1313, allocations: 9.249 MB / 486.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.1316, allocations: 24.03 kB / 486.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.1316, allocations: 11.98 kB / 486.3 MB, free: 12.25 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.0001379/0.1318, allocations: 145.6 kB / 486.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.1319, allocations: 15.92 kB / 486.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.1324, allocations: 246.8 kB / 486.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1324, allocations: 4 kB / 486.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1324, allocations: 4 kB / 486.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1324, allocations: 0 / 486.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.1327, allocations: 241.4 kB / 486.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1327, allocations: 0 / 486.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.1344, allocations: 227.6 kB / 487.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1344, allocations: 4 kB / 487.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1344, allocations: 0 / 487.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007834/0.1423, allocations: 8.736 MB / 495.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1423, allocations: 0 / 495.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.1428, allocations: 291.2 kB / 496.1 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.1429, allocations: 100.8 kB / 496.2 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.1429, allocations: 0 / 496.2 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1431, allocations: 15.98 kB / 496.3 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.1432, allocations: 19.97 kB / 496.3 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1432, allocations: 7.938 kB / 496.3 MB, free: 1.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.1434, allocations: 191.1 kB / 496.5 MB, free: 1.109 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1434, allocations: 0 / 496.5 MB, free: 1.109 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004466/0.1438, allocations: 71.91 kB / 496.5 MB, free: 1.039 MB / 366.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.0007506/0.1446, allocations: 0.8292 MB / 497.4 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.1468, allocations: 0.6093 MB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1469, allocations: 4 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.1482, allocations: 400.9 kB / 498.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1486, allocations: 35.91 kB / 498.4 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.1519, allocations: 2.531 MB / 0.4892 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1523, allocations: 0.7595 MB / 0.4899 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004405/0.1528, allocations: 125.3 kB / 0.4901 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.153, allocations: 91.36 kB / 0.4901 GB, free: 11.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.153, allocations: 0 / 0.4901 GB, free: 11.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.1824, allocations: 10.12 MB / 0.5 GB, free: 1.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.325, allocations: 18.11 kB / 0.5 GB, free: 1.562 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches