Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_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.001203/0.001203, allocations: 103.8 kB / 16.27 MB, free: 5.977 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.001165/0.001165, allocations: 188.6 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2101/0.2101, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 64.78 kB / 382.9 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1188, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.00345/0.1223, allocations: 1.675 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1242, allocations: 1.294 MB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.698e-05/0.1243, allocations: 0 / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.1246, allocations: 27.83 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.1249, allocations: 67.7 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.1255, allocations: 175.2 kB / 443.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1257, allocations: 155.3 kB / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.1257, allocations: 25.38 kB / 444.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.1258, allocations: 51.78 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.126, allocations: 79.67 kB / 444.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.126, allocations: 4 kB / 444.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.1264, allocations: 163.7 kB / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.641e-05/0.1266, allocations: 51.75 kB / 444.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.1266, allocations: 63.67 kB / 444.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.1272, allocations: 243.2 kB / 444.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1272, allocations: 0 / 444.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1272, allocations: 0 / 444.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1272, allocations: 0 / 444.7 MB, free: 2.707 MB / 318.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.0009405/0.1282, allocations: 474.7 kB / 445.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.57e-05/0.1283, allocations: 11.89 kB / 445.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.1284, allocations: 46.73 kB / 445.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.1304, allocations: 200.5 kB / 445.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1308, allocations: 236.7 kB / 445.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.1308, allocations: 8.375 kB / 445.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.1309, allocations: 8.375 kB / 445.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.1315, allocations: 367.8 kB / 446 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1316, allocations: 0 / 446 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.1316, allocations: 0 / 446 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/0.1317, allocations: 19.98 kB / 446 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006635/0.1323, allocations: 371.6 kB / 446.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.1339, allocations: 0.7966 MB / 447.2 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.1346, allocations: 346.2 kB / 447.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.1348, allocations: 124.8 kB / 447.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.1349, allocations: 0 / 447.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.1349, allocations: 38.5 kB / 447.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.1349, allocations: 0 / 447.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00109/0.136, allocations: 429 kB / 448.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.1361, allocations: 51.41 kB / 448.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.1365, allocations: 218.4 kB / 448.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.1365, allocations: 29.7 kB / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1367, allocations: 119.9 kB / 448.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.1367, allocations: 47.38 kB / 448.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.1369, allocations: 57.66 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1371, allocations: 334.8 kB / 449 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.1375, allocations: 123.8 kB / 449.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.1378, allocations: 158.7 kB / 449.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.1384, allocations: 294.3 kB / 449.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1384, allocations: 3.938 kB / 449.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007125/0.1392, allocations: 349.1 kB / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1392, allocations: 4 kB / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1392, allocations: 4.094 kB / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1392, allocations: 4 kB / 449.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02474/0.164, allocations: 1.455 MB / 451.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0446/0.2086, allocations: 12.34 MB / 463.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.209, allocations: 27.86 kB / 463.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.2091, allocations: 15.97 kB / 463.7 MB, free: 14.57 MB / 350.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.0002326/0.2094, allocations: 151.8 kB / 463.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.2095, allocations: 11.81 kB / 463.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.2096, allocations: 29.62 kB / 463.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2096, allocations: 7.938 kB / 463.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.2096, allocations: 0 / 463.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2096, allocations: 4 kB / 463.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.21, allocations: 289.3 kB / 464.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.21, allocations: 3.984 kB / 464.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02438/0.2344, allocations: 1.463 MB / 465.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.2345, allocations: 0 / 465.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/0.2345, allocations: 11.97 kB / 465.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04121/0.2758, allocations: 12.32 MB / 478 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2758, allocations: 160 / 478 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007302/0.2765, allocations: 422.9 kB / 478.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.2767, allocations: 88.92 kB / 478.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.2767, allocations: 11.98 kB / 478.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.277, allocations: 4 kB / 478.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.2773, allocations: 59.86 kB / 478.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.2774, allocations: 23.89 kB / 478.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.2775, allocations: 167.1 kB / 478.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2776, allocations: 0 / 478.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008267/0.2784, allocations: 120 kB / 478.9 MB, free: 14.47 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.001087/0.2795, allocations: 0.9808 MB / 479.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.02049/0.3, allocations: 1.42 MB / 481.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3, allocations: 0 / 481.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01995/0.32, allocations: 1.275 MB / 482.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.3205, allocations: 42.89 kB / 482.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.3248, allocations: 2.736 MB / 485.3 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3252, allocations: 0.7398 MB / 486.1 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.3254, allocations: 41.52 kB / 486.1 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.3255, allocations: 59.34 kB / 486.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3255, allocations: 0 / 486.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.3575, allocations: 8.463 MB / 494.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.87, allocations: 16.28 kB / 494.6 MB, free: 14.59 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches