Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.001085/0.001085, allocations: 107 kB / 17.33 MB, free: 6.023 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.001181/0.001181, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.405/1.405, allocations: 222.9 MB / 241.9 MB, free: 15.46 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.2056/0.2056, allocations: 44.19 MB / 336.3 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 65.31 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1229, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003412/0.1264, allocations: 2.058 MB / 470.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.128, allocations: 0.7946 MB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.1282, allocations: 4 kB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.1287, allocations: 59.72 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005024/0.1292, allocations: 115.5 kB / 471.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.1296, allocations: 55.88 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004924/0.1301, allocations: 322.5 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.1302, allocations: 36.39 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.1305, allocations: 123.4 kB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.1308, allocations: 147.4 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.1308, allocations: 8 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.1312, allocations: 127.8 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.1313, allocations: 71.67 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.1315, allocations: 111.2 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.1321, allocations: 343 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1321, allocations: 0 / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1321, allocations: 0 / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1321, allocations: 0 / 473.2 MB, free: 10.28 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001152/0.1333, allocations: 0.5576 MB / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.1334, allocations: 16.02 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.071e-05/0.1335, allocations: 70.72 kB / 473.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.1335, allocations: 28.56 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1338, allocations: 252.1 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1339, allocations: 16.56 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.1339, allocations: 27.98 kB / 474.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.1346, allocations: 401.1 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1346, allocations: 0 / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.1347, allocations: 8 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/0.1347, allocations: 32.58 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.1355, allocations: 410.3 kB / 475 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.137, allocations: 0.8734 MB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.1376, allocations: 278.3 kB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.1379, allocations: 96.77 kB / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.1379, allocations: 3.938 kB / 476.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.1379, allocations: 34.5 kB / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.1379, allocations: 4 kB / 476.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007585/0.1387, allocations: 333.1 kB / 476.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1388, allocations: 51.41 kB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.1391, allocations: 351.2 kB / 477 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1392, allocations: 29.7 kB / 477 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1393, allocations: 164.1 kB / 477.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.1394, allocations: 51.36 kB / 477.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/0.1395, allocations: 53.61 kB / 477.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1396, allocations: 346.8 kB / 477.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.1398, allocations: 91.89 kB / 477.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.1401, allocations: 144.2 kB / 477.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.1405, allocations: 252.2 kB / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1405, allocations: 0 / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005577/0.1411, allocations: 293 kB / 478.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1411, allocations: 6.5 kB / 478.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.1411, allocations: 4 kB / 478.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1412, allocations: 0 / 478.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.1417, allocations: 119.8 kB / 478.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.1439, allocations: 3.668 MB / 482.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1441, allocations: 35.7 kB / 482.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.1441, allocations: 8.281 kB / 482.2 MB, free: 0.8516 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * 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.0002387/0.1444, allocations: 180.1 kB / 482.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.1445, allocations: 27.66 kB / 482.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006902/0.1451, allocations: 334.5 kB / 482.7 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1452, allocations: 4 kB / 482.7 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1452, allocations: 3.938 kB / 482.7 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.1452, allocations: 0 / 482.7 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.1456, allocations: 309.4 kB / 483 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.1456, allocations: 3.938 kB / 483 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.1461, allocations: 104 kB / 483.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1461, allocations: 0 / 483.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.1462, allocations: 11.98 kB / 483.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.148, allocations: 3.664 MB / 486.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.148, allocations: 8.016 kB / 486.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.1485, allocations: 351.2 kB / 487.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.905e-05/0.1486, allocations: 108.8 kB / 487.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.1487, allocations: 0 / 487.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1489, allocations: 11.98 kB / 487.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.1489, allocations: 11.98 kB / 487.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.149, allocations: 8 kB / 487.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002669/0.1492, allocations: 257.9 kB / 487.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1492, allocations: 4 kB / 487.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.1496, allocations: 79.77 kB / 487.6 MB, free: 11.16 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 (15): * Single equations (assignments): 9 * 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.0009173/0.1506, allocations: 0.904 MB / 488.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008895/0.1515, allocations: 315.6 kB / 488.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1515, allocations: 4.312 kB / 488.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005892/0.1521, allocations: 198.8 kB / 489.1 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.1525, allocations: 52.56 kB / 489.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.1567, allocations: 3.476 MB / 492.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.1571, allocations: 0.8026 MB / 493.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000184/0.1572, allocations: 58.23 kB / 493.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1574, allocations: 83.34 kB / 493.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1574, allocations: 0 / 493.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.1779, allocations: 8.258 MB / 0.49 GB, free: 13.17 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.1782, allocations: 290.4 kB / 0.4903 GB, free: 12.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.193, allocations: 0 / 0.4903 GB, free: 12.79 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches