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.0008559/0.0008559, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 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.0008552/0.0008552, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8914/0.8914, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2354/0.2354, allocations: 34.23 MB / 294.8 MB, free: 0.7109 MB / 266.7 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 1.613e-06/1.613e-06, allocations: 0 / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.886e-05, allocations: 2.281 kB / 442.2 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.1594/0.1594, allocations: 2.076 MB / 444.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.161, allocations: 1.66 MB / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.161, allocations: 4.406 kB / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.1613, allocations: 73.27 kB / 446 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.1616, allocations: 155.6 kB / 446.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.1621, allocations: 335.4 kB / 446.5 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.1623, allocations: 0.4949 MB / 447 MB, free: 42.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.1624, allocations: 18.16 kB / 447 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1626, allocations: 246.1 kB / 447.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1628, allocations: 208.2 kB / 447.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.1628, allocations: 11.56 kB / 447.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.1631, allocations: 301.4 kB / 447.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.1632, allocations: 126 kB / 447.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.1633, allocations: 125.2 kB / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1637, allocations: 0.6653 MB / 448.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1637, allocations: 3.938 kB / 448.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1637, allocations: 0 / 448.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1637, allocations: 0 / 448.7 MB, free: 41.68 MB / 410.7 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.0007277/0.1644, allocations: 0.7157 MB / 449.4 MB, free: 41.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1645, allocations: 11.78 kB / 449.4 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.021e-05/0.1645, allocations: 102.2 kB / 449.5 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.1646, allocations: 59.25 kB / 449.6 MB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1648, allocations: 248.1 kB / 449.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1648, allocations: 37.5 kB / 449.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.1649, allocations: 50.98 kB / 449.9 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.1655, allocations: 0.708 MB / 450.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1655, allocations: 3.938 kB / 450.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.1655, allocations: 22.83 kB / 450.6 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.1656, allocations: 54.8 kB / 450.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.1663, allocations: 0.7416 MB / 451.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.1675, allocations: 1.322 MB / 452.7 MB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.168, allocations: 438.1 kB / 453.2 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1681, allocations: 148.7 kB / 453.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.1682, allocations: 13.91 kB / 453.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.1682, allocations: 37.67 kB / 453.4 MB, free: 39.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.1682, allocations: 2.766 kB / 453.4 MB, free: 39.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007105/0.1689, allocations: 0.5401 MB / 453.9 MB, free: 39.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1689, allocations: 58.25 kB / 454 MB, free: 39.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.1693, allocations: 0.5429 MB / 454.5 MB, free: 39.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1693, allocations: 25.7 kB / 454.5 MB, free: 39.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1694, allocations: 246.8 kB / 454.8 MB, free: 38.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.1695, allocations: 107.9 kB / 454.9 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.71e-05/0.1696, allocations: 98.39 kB / 455 MB, free: 38.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.1696, allocations: 358 kB / 455.3 MB, free: 38.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.1698, allocations: 161.3 kB / 455.5 MB, free: 38.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.17, allocations: 292.8 kB / 455.8 MB, free: 38.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.1705, allocations: 0.4915 MB / 456.3 MB, free: 38.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1705, allocations: 0 / 456.3 MB, free: 38.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005489/0.171, allocations: 0.5444 MB / 456.8 MB, free: 37.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.171, allocations: 6.781 kB / 456.8 MB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1711, allocations: 3.094 kB / 456.8 MB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1711, allocations: 9.672 kB / 456.8 MB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.1715, allocations: 230.7 kB / 457 MB, free: 37.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.1729, allocations: 7.313 MB / 464.4 MB, free: 30.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.1731, allocations: 66.64 kB / 464.4 MB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.1731, allocations: 26.05 kB / 464.4 MB, free: 30.68 MB / 410.7 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.0001643/0.1733, allocations: 222.5 kB / 464.7 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.1733, allocations: 45.78 kB / 464.7 MB, free: 30.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000595/0.1739, allocations: 0.552 MB / 465.3 MB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1739, allocations: 3 kB / 465.3 MB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1739, allocations: 3.062 kB / 465.3 MB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.174, allocations: 3.938 kB / 465.3 MB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.1742, allocations: 369.9 kB / 465.6 MB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1742, allocations: 0 / 465.6 MB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.1746, allocations: 206.9 kB / 465.8 MB, free: 30.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1746, allocations: 3.938 kB / 465.8 MB, free: 30.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1746, allocations: 13.17 kB / 465.9 MB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.1759, allocations: 7.302 MB / 473.2 MB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1759, allocations: 0 / 473.2 MB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.1763, allocations: 0.5088 MB / 473.7 MB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.1764, allocations: 54.05 kB / 473.7 MB, free: 22.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.1764, allocations: 4 kB / 473.7 MB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1765, allocations: 14.05 kB / 473.7 MB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.1766, allocations: 27.27 kB / 473.8 MB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1766, allocations: 13.09 kB / 473.8 MB, free: 22.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.1768, allocations: 389.7 kB / 474.2 MB, free: 22.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1768, allocations: 0 / 474.2 MB, free: 22.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.1772, allocations: 175.2 kB / 474.3 MB, free: 22.48 MB / 410.7 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.00123/0.1784, allocations: 1.167 MB / 475.5 MB, free: 37.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007939/0.1792, allocations: 0.5547 MB / 476 MB, free: 37.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1792, allocations: 0 / 476 MB, free: 37.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004776/0.1797, allocations: 341.7 kB / 476.4 MB, free: 37.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.18, allocations: 95.31 kB / 476.5 MB, free: 37.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.1839, allocations: 5.348 MB / 481.8 MB, free: 34.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.1841, allocations: 289.2 kB / 482.1 MB, free: 34.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.1843, allocations: 150.8 kB / 482.2 MB, free: 34.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.1844, allocations: 141.1 kB / 482.4 MB, free: 34.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1844, allocations: 0 / 482.4 MB, free: 34.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.2134, allocations: 16.46 MB / 498.8 MB, free: 32.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.529, allocations: 17.45 kB / 498.9 MB, free: 32.57 MB / 426.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.68971848860383]