Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001513/0.001513, allocations: 116 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001883/0.001883, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2374/0.2374, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 78.3 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1278, allocations: 62.45 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004373/0.1322, allocations: 2.733 MB / 482.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.1351, allocations: 1.484 MB / 483.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.1354, allocations: 0 / 483.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.1358, allocations: 103.4 kB / 483.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.1363, allocations: 119 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.137, allocations: 234.9 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.1374, allocations: 278.1 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.658e-05/0.1375, allocations: 28.67 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1376, allocations: 95.34 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1378, allocations: 127.2 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.1379, allocations: 8 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1389, allocations: 0.6007 MB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.139, allocations: 43.66 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1392, allocations: 139 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007738/0.1399, allocations: 0.5449 MB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.14, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.14, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.14, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.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.0009037/0.1409, allocations: 0.6239 MB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1409, allocations: 12.03 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.306e-05/0.141, allocations: 82.66 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.1411, allocations: 40.38 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.1414, allocations: 251.7 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1414, allocations: 25.38 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.1415, allocations: 35.94 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.1422, allocations: 0.5726 MB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.1423, allocations: 7.938 kB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.1423, allocations: 20 kB / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.1423, allocations: 12 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/0.1429, allocations: 333 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002865/0.1458, allocations: 4.047 MB / 492.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.1461, allocations: 94.47 kB / 492.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.1462, allocations: 36.95 kB / 492.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.1463, allocations: 11.98 kB / 492.3 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1463, allocations: 30.56 kB / 492.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1463, allocations: 0 / 492.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005576/0.1469, allocations: 161.5 kB / 492.5 MB, free: 8.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1469, allocations: 59.39 kB / 492.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.1474, allocations: 405.7 kB / 493 MB, free: 7.648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1474, allocations: 33.64 kB / 493 MB, free: 7.609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.1477, allocations: 258.9 kB / 493.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.1477, allocations: 27.66 kB / 493.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1479, allocations: 69.92 kB / 493.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.148, allocations: 350.7 kB / 493.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.1482, allocations: 56.61 kB / 493.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.1485, allocations: 262.4 kB / 494 MB, free: 6.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/0.1491, allocations: 355.8 kB / 494.3 MB, free: 6.035 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/0.1492, allocations: 4 kB / 494.3 MB, free: 6.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001074/0.1503, allocations: 344.9 kB / 494.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1503, allocations: 8 kB / 494.7 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.1503, allocations: 8 kB / 494.7 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-05/0.1504, allocations: 15.94 kB / 494.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/0.1511, allocations: 111.8 kB / 494.8 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.1522, allocations: 1.219 MB / 496 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.1527, allocations: 63.27 kB / 496.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.1528, allocations: 24 kB / 496.1 MB, free: 4.195 MB / 366.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.0002555/0.153, allocations: 152.2 kB / 496.3 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1531, allocations: 39.47 kB / 496.3 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00067/0.1538, allocations: 172.9 kB / 496.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.1539, allocations: 4 kB / 496.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1539, allocations: 0 / 496.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.1539, allocations: 7.969 kB / 496.5 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.1544, allocations: 273.4 kB / 496.8 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1544, allocations: 3.938 kB / 496.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.1549, allocations: 59.91 kB / 496.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.1549, allocations: 4 kB / 496.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.1549, allocations: 0 / 496.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009689/0.1559, allocations: 1.211 MB / 498 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1559, allocations: 0 / 498 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.1565, allocations: 239.2 kB / 498.3 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.1567, allocations: 104.6 kB / 498.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.1568, allocations: 7.938 kB / 498.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.1571, allocations: 7.984 kB / 498.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.1571, allocations: 7.984 kB / 498.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1572, allocations: 4 kB / 498.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004386/0.1576, allocations: 275.1 kB / 498.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1576, allocations: 0 / 498.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009991/0.1586, allocations: 112 kB / 498.8 MB, free: 1.391 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 (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.001579/0.1602, allocations: 0.8569 MB / 499.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009143/0.1612, allocations: 205.6 kB / 499.8 MB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1612, allocations: 3.938 kB / 499.8 MB, free: 312 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004265/0.1616, allocations: 84.03 kB / 499.9 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.1624, allocations: 40.95 kB / 500 MB, free: 192 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/0.1692, allocations: 3.537 MB / 0.4917 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.1697, allocations: 0.7717 MB / 0.4925 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.1699, allocations: 34.97 kB / 0.4925 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.1701, allocations: 107.4 kB / 0.4926 GB, free: 11.44 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1701, allocations: 0 / 0.4926 GB, free: 11.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.1972, allocations: 9.805 MB / 0.5022 GB, free: 1.887 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003639/0.1976, allocations: 284.8 kB / 0.5024 GB, free: 1.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/2.561, allocations: 6.438 kB / 0.5024 GB, free: 1.504 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches