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.001171/0.001171, allocations: 107.5 kB / 16.41 MB, free: 6.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.001148/0.001148, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.39/1.39, 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.2061/0.2061, allocations: 43.52 MB / 314.1 MB, free: 464 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.002491/0.002491, allocations: 67.91 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1368, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003505/0.1403, allocations: 1.993 MB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1419, allocations: 0.8538 MB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.1421, allocations: 4 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.1424, allocations: 67.58 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.1429, allocations: 111.5 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1432, allocations: 67.73 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.1436, allocations: 314.6 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.1437, allocations: 36.36 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.144, allocations: 127.4 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.1442, allocations: 147.3 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.1443, allocations: 8 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.1446, allocations: 127.8 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1447, allocations: 71.66 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.1448, allocations: 115.2 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005391/0.1454, allocations: 342.7 kB / 0.4917 GB, free: 7.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1454, allocations: 0 / 0.4917 GB, free: 7.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1454, allocations: 0 / 0.4917 GB, free: 7.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1454, allocations: 0 / 0.4917 GB, free: 7.902 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.001012/0.1464, allocations: 0.5614 MB / 0.4922 GB, free: 7.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1465, allocations: 12.03 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.746e-05/0.1466, allocations: 82.64 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.879e-05/0.1467, allocations: 28.56 kB / 0.4923 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.147, allocations: 236.3 kB / 0.4926 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.147, allocations: 20.56 kB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.1471, allocations: 35.92 kB / 0.4926 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.1478, allocations: 393.2 kB / 0.493 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1478, allocations: 0 / 0.493 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.1478, allocations: 8 kB / 0.493 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.1479, allocations: 28.64 kB / 0.493 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.1486, allocations: 410.3 kB / 0.4934 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.1501, allocations: 0.8695 MB / 0.4943 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005828/0.1507, allocations: 274.3 kB / 0.4945 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.151, allocations: 92.77 kB / 0.4946 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.1511, allocations: 12.06 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1511, allocations: 34.5 kB / 0.4947 GB, free: 4.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.1511, allocations: 0 / 0.4947 GB, free: 4.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007761/0.1519, allocations: 337 kB / 0.495 GB, free: 4.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.152, allocations: 55.41 kB / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.1524, allocations: 355.2 kB / 0.4954 GB, free: 3.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1524, allocations: 29.7 kB / 0.4954 GB, free: 3.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.1526, allocations: 156.2 kB / 0.4956 GB, free: 3.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.1526, allocations: 55.2 kB / 0.4956 GB, free: 3.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.1527, allocations: 49.69 kB / 0.4957 GB, free: 3.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1529, allocations: 346.8 kB / 0.496 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.1531, allocations: 87.91 kB / 0.4961 GB, free: 3.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1533, allocations: 141.9 kB / 0.4962 GB, free: 3.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.1538, allocations: 249.4 kB / 0.4964 GB, free: 2.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1538, allocations: 0 / 0.4964 GB, free: 2.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005637/0.1544, allocations: 293 kB / 0.4967 GB, free: 2.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1545, allocations: 12.17 kB / 0.4967 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1545, allocations: 4 kB / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1545, allocations: 4 kB / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.155, allocations: 111.8 kB / 0.4968 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.1571, allocations: 3.668 MB / 0.5004 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.1573, allocations: 35.7 kB / 0.5005 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.1574, allocations: 8 kB / 0.5005 GB, free: 14.48 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.0002052/0.1576, allocations: 181.5 kB / 0.5006 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.1577, allocations: 35.55 kB / 0.5007 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.1584, allocations: 335.2 kB / 0.501 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1584, allocations: 4 kB / 0.501 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1584, allocations: 0 / 0.501 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.1584, allocations: 3.984 kB / 0.501 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.1588, allocations: 301.4 kB / 0.5013 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1589, allocations: 3.938 kB / 0.5013 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/0.1593, allocations: 104 kB / 0.5014 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1593, allocations: 4 kB / 0.5014 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.1594, allocations: 11.98 kB / 0.5014 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.162, allocations: 3.672 MB / 0.505 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.162, allocations: 0 / 0.505 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007284/0.1627, allocations: 350.9 kB / 0.5053 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.1629, allocations: 108.8 kB / 0.5054 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.1629, allocations: 4 kB / 0.5054 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.1631, allocations: 7.984 kB / 0.5054 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.1632, allocations: 20.05 kB / 0.5055 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1632, allocations: 4 kB / 0.5055 GB, free: 9.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002993/0.1635, allocations: 261.9 kB / 0.5057 GB, free: 8.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1636, allocations: 0 / 0.5057 GB, free: 8.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004226/0.164, allocations: 76 kB / 0.5058 GB, free: 8.789 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.001141/0.1651, allocations: 0.9108 MB / 0.5067 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009481/0.1661, allocations: 311.9 kB / 0.507 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1661, allocations: 0 / 0.507 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005844/0.1667, allocations: 187.8 kB / 0.5072 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.1672, allocations: 56.69 kB / 0.5072 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/0.1721, allocations: 3.385 MB / 0.5105 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.1727, allocations: 0.8026 MB / 0.5113 GB, free: 2.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.1729, allocations: 66.22 kB / 0.5114 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.173, allocations: 75.41 kB / 0.5114 GB, free: 2.836 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.173, allocations: 0 / 0.5114 GB, free: 2.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.2042, allocations: 8.738 MB / 0.52 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.86, allocations: 0.875 kB / 0.52 GB, free: 10.09 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