Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 249.8 MB, free: 3.574 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2879/0.2879, allocations: 44.92 MB / 349.6 MB, free: 1.695 MB / 270.1 MB " [Timeout remaining time 180] 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.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 64.64 kB / 491.8 MB, free: 30.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1242, allocations: 64.27 MB / 0.5431 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004165/0.1284, allocations: 2.683 MB / 0.5457 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.1309, allocations: 1.437 MB / 0.5471 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.131, allocations: 4 kB / 0.5471 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.1314, allocations: 111.2 kB / 0.5472 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.1318, allocations: 146.8 kB / 0.5473 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.1324, allocations: 259.1 kB / 0.5476 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.1327, allocations: 281.9 kB / 0.5478 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1329, allocations: 12.75 kB / 0.5479 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.133, allocations: 95.41 kB / 0.5479 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1332, allocations: 127.2 kB / 0.5481 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.1332, allocations: 11.94 kB / 0.5481 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009176/0.1341, allocations: 0.589 MB / 0.5487 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-05/0.1342, allocations: 39.72 kB / 0.5487 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.1343, allocations: 131 kB / 0.5488 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.135, allocations: 0.5406 MB / 0.5493 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.135, allocations: 0 / 0.5493 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.135, allocations: 0 / 0.5493 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.135, allocations: 0 / 0.5493 GB, free: 13.57 MB / 414.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.0008408/0.1359, allocations: 0.6311 MB / 0.55 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1359, allocations: 12.03 kB / 0.55 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.033e-05/0.136, allocations: 74.72 kB / 0.55 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.1361, allocations: 44.66 kB / 0.5501 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.1364, allocations: 248.4 kB / 0.5503 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.1364, allocations: 29.38 kB / 0.5504 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.1364, allocations: 31.94 kB / 0.5504 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007247/0.1372, allocations: 0.5842 MB / 0.551 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1372, allocations: 7.922 kB / 0.551 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.1372, allocations: 16 kB / 0.551 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1372, allocations: 16 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.1377, allocations: 333 kB / 0.5513 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.1407, allocations: 4.047 MB / 0.5553 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.141, allocations: 90.53 kB / 0.5553 GB, free: 6.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1411, allocations: 36.97 kB / 0.5554 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.1412, allocations: 7.984 kB / 0.5554 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1412, allocations: 30.56 kB / 0.5554 GB, free: 6.898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.1412, allocations: 0 / 0.5554 GB, free: 6.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000529/0.1417, allocations: 173.3 kB / 0.5556 GB, free: 6.723 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.1418, allocations: 59.41 kB / 0.5556 GB, free: 6.652 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.1422, allocations: 405.8 kB / 0.556 GB, free: 6.242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1423, allocations: 29.7 kB / 0.5561 GB, free: 6.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.1424, allocations: 247.6 kB / 0.5563 GB, free: 5.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.1425, allocations: 39.72 kB / 0.5563 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.1426, allocations: 69.97 kB / 0.5564 GB, free: 5.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1428, allocations: 350.7 kB / 0.5567 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.1429, allocations: 60.61 kB / 0.5568 GB, free: 5.434 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.1432, allocations: 262.3 kB / 0.557 GB, free: 5.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.1438, allocations: 359.8 kB / 0.5574 GB, free: 4.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1438, allocations: 4 kB / 0.5574 GB, free: 4.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006532/0.1444, allocations: 348.8 kB / 0.5577 GB, free: 4.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1444, allocations: 8 kB / 0.5577 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1444, allocations: 4.875 kB / 0.5577 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.1445, allocations: 12 kB / 0.5577 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.145, allocations: 111.8 kB / 0.5578 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008546/0.1458, allocations: 1.223 MB / 0.559 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.1461, allocations: 59.52 kB / 0.5591 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.1461, allocations: 24.19 kB / 0.5591 GB, free: 2.785 MB / 414.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.0001672/0.1463, allocations: 157.6 kB / 0.5593 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.1464, allocations: 39.7 kB / 0.5593 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.1468, allocations: 172.9 kB / 0.5595 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1468, allocations: 0 / 0.5595 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1468, allocations: 0 / 0.5595 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1468, allocations: 3.938 kB / 0.5595 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.1472, allocations: 277.5 kB / 0.5597 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1472, allocations: 0 / 0.5597 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.1475, allocations: 55.97 kB / 0.5598 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1475, allocations: 0 / 0.5598 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1475, allocations: 8 kB / 0.5598 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007879/0.1483, allocations: 1.207 MB / 0.561 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1483, allocations: 0 / 0.561 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.1487, allocations: 239.9 kB / 0.5612 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.1488, allocations: 108.9 kB / 0.5613 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.1488, allocations: 3.938 kB / 0.5613 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.149, allocations: 7.984 kB / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.149, allocations: 8 kB / 0.5613 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.149, allocations: 8 kB / 0.5613 GB, free: 372 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.1493, allocations: 275.1 kB / 0.5616 GB, free: 100 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1493, allocations: 4 kB / 0.5616 GB, free: 96 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005289/0.1498, allocations: 107.9 kB / 0.5617 GB, free: 15.98 MB / 430.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.001003/0.1508, allocations: 0.8526 MB / 0.5625 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006274/0.1515, allocations: 204.2 kB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1515, allocations: 3.938 kB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.1517, allocations: 73.27 kB / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.1521, allocations: 41.91 kB / 0.5629 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.1566, allocations: 3.403 MB / 0.5662 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.157, allocations: 0.7717 MB / 0.5669 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.1571, allocations: 30.97 kB / 0.567 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.1573, allocations: 109.6 kB / 0.5671 GB, free: 10.18 MB / 430.1 MB Notification: Performance of SimCode: time 1.123e-06/0.1573, allocations: 4 kB / 0.5671 GB, free: 10.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03564/0.1929, allocations: 9.969 MB / 0.5768 GB, free: 468 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.26, allocations: 18.91 kB / 0.5768 GB, free: 452 kB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.505520935636014]