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.00122/0.00122, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001282/0.001282, allocations: 194 kB / 18.12 MB, free: 5.383 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.36/1.36, allocations: 222.9 MB / 241.8 MB, free: 15.47 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.2008/0.2008, allocations: 44.18 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 66.22 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1242, allocations: 60.83 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.004269/0.1285, allocations: 2.047 MB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1302, allocations: 0.8024 MB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.933e-05/0.1303, allocations: 4 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1306, allocations: 59.72 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.131, allocations: 111.5 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.1313, allocations: 59.84 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.1319, allocations: 458.3 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.132, allocations: 32.39 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.1322, allocations: 111.4 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.1325, allocations: 151.4 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.487e-05/0.1325, allocations: 4 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.1329, allocations: 127.8 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.133, allocations: 67.67 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.1332, allocations: 107.2 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.1337, allocations: 343 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1337, allocations: 0 / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1337, allocations: 0 / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1338, allocations: 0 / 473.1 MB, free: 10.27 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.001163/0.1349, allocations: 0.5576 MB / 473.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.135, allocations: 12.03 kB / 473.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.1351, allocations: 70.7 kB / 473.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.941e-05/0.1352, allocations: 28.56 kB / 473.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.1356, allocations: 252.2 kB / 474 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.1356, allocations: 24.55 kB / 474 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.1357, allocations: 23.98 kB / 474.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009241/0.1366, allocations: 401.1 kB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1367, allocations: 0 / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.1367, allocations: 8 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.149e-05/0.1368, allocations: 28.64 kB / 474.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1379, allocations: 406.3 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.1398, allocations: 0.8772 MB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008408/0.1406, allocations: 274.3 kB / 476 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.1409, allocations: 100.8 kB / 476.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.141, allocations: 3.938 kB / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.141, allocations: 38.5 kB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.434e-06/0.141, allocations: 0 / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001165/0.1422, allocations: 335.8 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1423, allocations: 51.41 kB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.1428, allocations: 351.2 kB / 476.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1428, allocations: 29.7 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.143, allocations: 164.1 kB / 477.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/0.1431, allocations: 51.36 kB / 477.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.1432, allocations: 57.59 kB / 477.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1434, allocations: 342.8 kB / 477.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.1436, allocations: 91.91 kB / 477.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.144, allocations: 139.2 kB / 477.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.1446, allocations: 249.7 kB / 478 MB, free: 5.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1446, allocations: 0 / 478 MB, free: 5.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008093/0.1454, allocations: 297 kB / 478.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.1455, allocations: 4 kB / 478.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.1455, allocations: 8 kB / 478.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1455, allocations: 0 / 478.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/0.1463, allocations: 119.8 kB / 478.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/0.1494, allocations: 3.669 MB / 482.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.1497, allocations: 27.67 kB / 482.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.1497, allocations: 12 kB / 482.1 MB, free: 0.8398 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.0002749/0.15, allocations: 177.9 kB / 482.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/0.1501, allocations: 27.66 kB / 482.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009699/0.1511, allocations: 330.2 kB / 482.6 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.1511, allocations: 3.984 kB / 482.6 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.1511, allocations: 3.938 kB / 482.7 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.1511, allocations: 7.938 kB / 482.7 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.1518, allocations: 305.4 kB / 483 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.1518, allocations: 3.938 kB / 483 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007615/0.1525, allocations: 111.9 kB / 483.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.1526, allocations: 0 / 483.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.445e-05/0.1526, allocations: 8 kB / 483.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/0.1554, allocations: 3.668 MB / 486.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1554, allocations: 0 / 486.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008519/0.1562, allocations: 359.1 kB / 487.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.1564, allocations: 104.8 kB / 487.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.1565, allocations: 0 / 487.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.1568, allocations: 11.98 kB / 487.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.1569, allocations: 11.98 kB / 487.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.1569, allocations: 11.98 kB / 487.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004111/0.1573, allocations: 253.9 kB / 487.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1573, allocations: 0 / 487.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006511/0.158, allocations: 75.78 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.00135/0.1593, allocations: 0.9156 MB / 488.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.1608, allocations: 294.6 kB / 488.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1608, allocations: 0 / 488.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008784/0.1617, allocations: 192.2 kB / 488.9 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.1624, allocations: 48.62 kB / 489 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006211/0.1686, allocations: 3.474 MB / 492.5 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.1691, allocations: 0.8026 MB / 493.3 MB, free: 5.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.1694, allocations: 70.2 kB / 493.3 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.1695, allocations: 75.41 kB / 493.4 MB, free: 5.133 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1696, allocations: 0 / 493.4 MB, free: 5.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07889/0.2485, allocations: 8.035 MB / 0.4897 GB, free: 13.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003501/0.2488, allocations: 289.8 kB / 0.49 GB, free: 13.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.273, allocations: 2.5 kB / 0.49 GB, free: 13.01 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