Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001311/0.001311, allocations: 104.5 kB / 16.4 MB, free: 6.496 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.001327/0.001327, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.353/1.353, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2111/0.2111, allocations: 43.51 MB / 314.1 MB, free: 460 kB / 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.001383/0.001383, allocations: 59.91 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1205, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003139/0.1237, allocations: 1.994 MB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1251, allocations: 0.8499 MB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.1252, allocations: 4 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.1256, allocations: 63.59 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.1259, allocations: 115.4 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.1262, allocations: 71.73 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.1265, allocations: 314.6 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.942e-05/0.1266, allocations: 32.38 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1268, allocations: 131.3 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.127, allocations: 147.3 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.127, allocations: 8 kB / 0.4911 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.1273, allocations: 127.8 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.91e-05/0.1274, allocations: 67.67 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1275, allocations: 111.2 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.1279, allocations: 346.7 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1279, allocations: 0 / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1279, allocations: 0 / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.1279, allocations: 0 / 0.4917 GB, free: 7.891 MB / 382.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.0008773/0.1288, allocations: 0.5614 MB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1289, allocations: 12.03 kB / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.662e-05/0.129, allocations: 74.69 kB / 0.4923 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.129, allocations: 28.56 kB / 0.4923 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.1293, allocations: 248.2 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1293, allocations: 24.56 kB / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.1294, allocations: 23.98 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/0.13, allocations: 389.2 kB / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.13, allocations: 0 / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.1301, allocations: 15.98 kB / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.1301, allocations: 24.64 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008025/0.1309, allocations: 410.2 kB / 0.4934 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.1323, allocations: 0.8734 MB / 0.4943 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.1329, allocations: 278.2 kB / 0.4945 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.1331, allocations: 96.7 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1331, allocations: 4 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1332, allocations: 34.56 kB / 0.4947 GB, free: 4.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.1332, allocations: 4 kB / 0.4947 GB, free: 4.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007374/0.1339, allocations: 336.9 kB / 0.495 GB, free: 4.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.134, allocations: 55.41 kB / 0.495 GB, free: 4.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.1343, allocations: 347.3 kB / 0.4954 GB, free: 3.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1343, allocations: 29.7 kB / 0.4954 GB, free: 3.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1344, allocations: 164.2 kB / 0.4956 GB, free: 3.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.1345, allocations: 55.27 kB / 0.4956 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.288e-05/0.1346, allocations: 49.7 kB / 0.4957 GB, free: 3.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1347, allocations: 342.8 kB / 0.496 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.1349, allocations: 91.89 kB / 0.4961 GB, free: 3.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.1351, allocations: 145.8 kB / 0.4962 GB, free: 2.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.1356, allocations: 245.6 kB / 0.4964 GB, free: 2.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1356, allocations: 4 kB / 0.4964 GB, free: 2.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005226/0.1361, allocations: 293 kB / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1361, allocations: 4 kB / 0.4967 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1361, allocations: 8.188 kB / 0.4967 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.1362, allocations: 3.938 kB / 0.4967 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.1367, allocations: 111.9 kB / 0.4969 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.1388, allocations: 3.672 MB / 0.5004 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.1389, allocations: 35.7 kB / 0.5005 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.139, allocations: 11.98 kB / 0.5005 GB, free: 14.45 MB / 398.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.0001889/0.1392, allocations: 177.6 kB / 0.5007 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.1392, allocations: 31.56 kB / 0.5007 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.1399, allocations: 335.2 kB / 0.501 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1399, allocations: 0 / 0.501 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1399, allocations: 0 / 0.501 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1399, allocations: 0 / 0.501 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.1402, allocations: 309.4 kB / 0.5013 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1403, allocations: 3.938 kB / 0.5013 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.1407, allocations: 104 kB / 0.5014 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.1407, allocations: 3.984 kB / 0.5014 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.1408, allocations: 15.98 kB / 0.5014 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.1428, allocations: 3.661 MB / 0.505 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.1429, allocations: 12.06 kB / 0.505 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.1434, allocations: 350.9 kB / 0.5053 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.1435, allocations: 104.8 kB / 0.5054 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.1435, allocations: 4 kB / 0.5054 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1437, allocations: 7.984 kB / 0.5055 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.1437, allocations: 15.98 kB / 0.5055 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1438, allocations: 8 kB / 0.5055 GB, free: 9.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002503/0.144, allocations: 261.8 kB / 0.5057 GB, free: 8.848 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.144, allocations: 0 / 0.5057 GB, free: 8.848 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.1444, allocations: 76 kB / 0.5058 GB, free: 8.773 MB / 398.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.0008797/0.1453, allocations: 0.9031 MB / 0.5067 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008507/0.1461, allocations: 308 kB / 0.507 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1461, allocations: 0 / 0.507 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005483/0.1467, allocations: 191.7 kB / 0.5072 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.1471, allocations: 60.62 kB / 0.5072 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.1516, allocations: 3.388 MB / 0.5105 GB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.152, allocations: 0.7987 MB / 0.5113 GB, free: 2.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000171/0.1522, allocations: 62.23 kB / 0.5114 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1523, allocations: 79.41 kB / 0.5114 GB, free: 2.824 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1523, allocations: 0 / 0.5114 GB, free: 2.824 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.1836, allocations: 8.742 MB / 0.52 GB, free: 10.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.32, allocations: 4.938 kB / 0.52 GB, free: 10.07 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches