Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.001101/0.001101, allocations: 103.4 kB / 16.4 MB, free: 6.492 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.001257/0.001257, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2014/0.2014, 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.001755/0.001756, allocations: 73.47 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1293, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.00422/0.1335, allocations: 2.68 MB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.1363, allocations: 1.465 MB / 0.4915 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.1366, allocations: 4 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.1371, allocations: 119.1 kB / 0.4916 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006058/0.1377, allocations: 130.8 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1387, allocations: 255.1 kB / 0.492 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.1393, allocations: 274.1 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1394, allocations: 28.72 kB / 0.4923 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.1396, allocations: 103.3 kB / 0.4924 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.1399, allocations: 119.2 kB / 0.4925 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.1399, allocations: 8 kB / 0.4925 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.1413, allocations: 0.5929 MB / 0.4931 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.1414, allocations: 43.66 kB / 0.4931 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.1416, allocations: 131 kB / 0.4932 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008931/0.1425, allocations: 0.5332 MB / 0.4938 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.1425, allocations: 0 / 0.4938 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1425, allocations: 0 / 0.4938 GB, free: 5.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1425, allocations: 0 / 0.4938 GB, free: 5.75 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001079/0.1436, allocations: 0.6278 MB / 0.4944 GB, free: 5.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1437, allocations: 12.03 kB / 0.4944 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.37e-05/0.1438, allocations: 70.72 kB / 0.4944 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/0.1438, allocations: 40.41 kB / 0.4945 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.1442, allocations: 255.4 kB / 0.4947 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.1443, allocations: 25.38 kB / 0.4948 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.1444, allocations: 39.94 kB / 0.4948 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/0.1452, allocations: 0.5726 MB / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.1453, allocations: 7.938 kB / 0.4954 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.1453, allocations: 20 kB / 0.4954 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1453, allocations: 16 kB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.1459, allocations: 329 kB / 0.4957 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003358/0.1493, allocations: 4.043 MB / 0.4997 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.1496, allocations: 94.41 kB / 0.4997 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.1497, allocations: 44.95 kB / 0.4998 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.1497, allocations: 4 kB / 0.4998 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1498, allocations: 30.56 kB / 0.4998 GB, free: 15.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1498, allocations: 0 / 0.4998 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005554/0.1503, allocations: 165.4 kB / 0.5 GB, free: 14.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.1504, allocations: 63.34 kB / 0.5 GB, free: 14.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.151, allocations: 405.8 kB / 0.5004 GB, free: 14.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.151, allocations: 25.7 kB / 0.5004 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.1512, allocations: 251 kB / 0.5007 GB, free: 14.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.1513, allocations: 23.7 kB / 0.5007 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.1514, allocations: 77.66 kB / 0.5008 GB, free: 14.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1516, allocations: 350.7 kB / 0.5011 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.1517, allocations: 64.61 kB / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.152, allocations: 266.3 kB / 0.5014 GB, free: 13.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.1525, allocations: 359.9 kB / 0.5018 GB, free: 12.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.1525, allocations: 4 kB / 0.5018 GB, free: 12.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007182/0.1533, allocations: 336.6 kB / 0.5021 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1533, allocations: 8 kB / 0.5021 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.1533, allocations: 12.86 kB / 0.5021 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.1533, allocations: 12 kB / 0.5021 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.1538, allocations: 111.8 kB / 0.5022 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009712/0.1548, allocations: 1.223 MB / 0.5034 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.1551, allocations: 63.3 kB / 0.5035 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.1552, allocations: 28.19 kB / 0.5035 GB, free: 10.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.1554, allocations: 149.5 kB / 0.5037 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.1554, allocations: 39.47 kB / 0.5037 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/0.1559, allocations: 172.9 kB / 0.5039 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1559, allocations: 4 kB / 0.5039 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1559, allocations: 0 / 0.5039 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1559, allocations: 0 / 0.5039 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.1563, allocations: 281.4 kB / 0.5041 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1563, allocations: 4 kB / 0.5041 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.1566, allocations: 55.97 kB / 0.5042 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1567, allocations: 0 / 0.5042 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1567, allocations: 4 kB / 0.5042 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.1577, allocations: 1.203 MB / 0.5054 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.1577, allocations: 0 / 0.5054 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.1581, allocations: 239.2 kB / 0.5056 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.1583, allocations: 104.7 kB / 0.5057 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.1584, allocations: 3.938 kB / 0.5057 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.1586, allocations: 7.984 kB / 0.5057 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.1586, allocations: 8 kB / 0.5057 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1586, allocations: 7.984 kB / 0.5057 GB, free: 8.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003066/0.159, allocations: 271.1 kB / 0.506 GB, free: 8.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.159, allocations: 4 kB / 0.506 GB, free: 8.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005849/0.1596, allocations: 123.8 kB / 0.5061 GB, free: 8.18 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001008/0.1606, allocations: 0.8408 MB / 0.5069 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.1612, allocations: 212.5 kB / 0.5071 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1612, allocations: 0 / 0.5071 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.1615, allocations: 81.27 kB / 0.5072 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1619, allocations: 42.25 kB / 0.5073 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.1662, allocations: 3.384 MB / 0.5106 GB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.1666, allocations: 0.7717 MB / 0.5113 GB, free: 2.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.1667, allocations: 42.89 kB / 0.5114 GB, free: 2.488 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.1668, allocations: 107.4 kB / 0.5115 GB, free: 2.387 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1668, allocations: 0 / 0.5115 GB, free: 2.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.198, allocations: 10.06 MB / 0.5213 GB, free: 8.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.67, allocations: 8.438 kB / 0.5213 GB, free: 8.32 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches