Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001684/0.001684, allocations: 118.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.89 MB / 357.4 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] 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.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 78.31 kB / 0.4913 GB, free: 26.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1189, allocations: 65.98 MB / 0.5557 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003613/0.1225, allocations: 2.179 MB / 0.5578 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.1255, allocations: 1.845 MB / 0.5596 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.1257, allocations: 4 kB / 0.5597 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.126, allocations: 75.58 kB / 0.5597 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.1265, allocations: 159.2 kB / 0.5599 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009147/0.1274, allocations: 338.6 kB / 0.5602 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.128, allocations: 481.6 kB / 0.5607 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.1281, allocations: 45.09 kB / 0.5607 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.1283, allocations: 191 kB / 0.5609 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.1286, allocations: 230.9 kB / 0.5611 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.1287, allocations: 12 kB / 0.5611 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009535/0.1296, allocations: 0.5733 MB / 0.5617 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1298, allocations: 107.5 kB / 0.5618 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.13, allocations: 194.6 kB / 0.562 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.131, allocations: 0.7394 MB / 0.5627 GB, free: 1.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.131, allocations: 0 / 0.5627 GB, free: 1.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.131, allocations: 0 / 0.5627 GB, free: 1.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.131, allocations: 0 / 0.5627 GB, free: 1.922 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001361/0.1324, allocations: 0.7982 MB / 0.5635 GB, free: 1.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1324, allocations: 16.02 kB / 0.5635 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.1325, allocations: 94.7 kB / 0.5636 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.1326, allocations: 56.56 kB / 0.5636 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.1332, allocations: 314.9 kB / 0.5639 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.1332, allocations: 29 kB / 0.564 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.1333, allocations: 51.98 kB / 0.564 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.1345, allocations: 0.707 MB / 0.5647 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1345, allocations: 0 / 0.5647 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/0.1345, allocations: 23.98 kB / 0.5647 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.272e-05/0.1346, allocations: 53.27 kB / 0.5648 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.1359, allocations: 0.7505 MB / 0.5655 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.1383, allocations: 1.439 MB / 0.5669 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.139, allocations: 436.5 kB / 0.5673 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.1393, allocations: 153.1 kB / 0.5675 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.1394, allocations: 16.2 kB / 0.5675 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1394, allocations: 30.8 kB / 0.5675 GB, free: 12.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.1394, allocations: 0 / 0.5675 GB, free: 12.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001105/0.1405, allocations: 0.5471 MB / 0.568 GB, free: 12.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1405, allocations: 59.33 kB / 0.5681 GB, free: 12.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/0.1411, allocations: 0.5251 MB / 0.5686 GB, free: 11.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.1412, allocations: 33.7 kB / 0.5686 GB, free: 11.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1414, allocations: 244.5 kB / 0.5689 GB, free: 11.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/0.1415, allocations: 111.1 kB / 0.569 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.1416, allocations: 94.16 kB / 0.5691 GB, free: 11.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1418, allocations: 366.7 kB / 0.5694 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.1421, allocations: 160.6 kB / 0.5696 GB, free: 10.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.1425, allocations: 306 kB / 0.5699 GB, free: 10.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.1433, allocations: 495.9 kB / 0.5703 GB, free: 9.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1433, allocations: 4 kB / 0.5703 GB, free: 9.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009439/0.1443, allocations: 0.5363 MB / 0.5709 GB, free: 9.184 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1443, allocations: 8 kB / 0.5709 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1443, allocations: 4 kB / 0.5709 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.1443, allocations: 8 kB / 0.5709 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009564/0.1453, allocations: 219.8 kB / 0.5711 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/0.1499, allocations: 7.31 MB / 0.5782 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.1502, allocations: 67.5 kB / 0.5783 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.1503, allocations: 24 kB / 0.5783 GB, free: 1.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003298/0.1506, allocations: 229.5 kB / 0.5785 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.1507, allocations: 43.72 kB / 0.5786 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.1518, allocations: 0.5528 MB / 0.5791 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.1518, allocations: 8 kB / 0.5791 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1518, allocations: 0 / 0.5791 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1518, allocations: 0 / 0.5791 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.1523, allocations: 425.2 kB / 0.5795 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1523, allocations: 0 / 0.5795 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008432/0.1532, allocations: 207.8 kB / 0.5797 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1532, allocations: 0 / 0.5797 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.1532, allocations: 15.94 kB / 0.5798 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00441/0.1576, allocations: 7.31 MB / 0.5869 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1576, allocations: 0 / 0.5869 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008007/0.1584, allocations: 0.5116 MB / 0.5874 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.1585, allocations: 132.7 kB / 0.5875 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.1586, allocations: 4 kB / 0.5875 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.1588, allocations: 11.98 kB / 0.5875 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.1589, allocations: 27.97 kB / 0.5876 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.1589, allocations: 11.98 kB / 0.5876 GB, free: 7.414 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004343/0.1594, allocations: 391 kB / 0.5879 GB, free: 7.035 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1594, allocations: 4 kB / 0.5879 GB, free: 7.031 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005635/0.1599, allocations: 175.6 kB / 0.5881 GB, free: 6.859 MB / 446.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001452/0.1614, allocations: 1.164 MB / 0.5893 GB, free: 5.664 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.1628, allocations: 0.5363 MB / 0.5898 GB, free: 5.129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1628, allocations: 0 / 0.5898 GB, free: 5.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009911/0.1638, allocations: 343.6 kB / 0.5901 GB, free: 4.793 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.1643, allocations: 93.78 kB / 0.5902 GB, free: 4.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006964/0.1713, allocations: 5.302 MB / 0.5954 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.1719, allocations: 0.8936 MB / 0.5962 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00035/0.1722, allocations: 148.2 kB / 0.5964 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.1724, allocations: 139.4 kB / 0.5965 GB, free: 14 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1724, allocations: 0 / 0.5965 GB, free: 14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2845/0.4569, allocations: 14.99 MB / 0.6112 GB, free: 51.83 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.79, allocations: 9.672 kB / 0.6112 GB, free: 51.83 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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: 16.34828657982871]