Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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.0008234/0.0008234, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.000872/0.000872, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.897/0.897, allocations: 177 MB / 204.1 MB, free: 5.762 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.2477/0.2477, allocations: 34.24 MB / 294.8 MB, free: 0.6992 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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.881e-05, allocations: 10.16 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.1668/0.1668, allocations: 2.137 MB / 444.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1685, allocations: 1.938 MB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.416e-05/0.1686, allocations: 5.562 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.1689, allocations: 70.73 kB / 446.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.169, allocations: 112 kB / 446.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007171/0.1697, allocations: 448 kB / 446.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.1701, allocations: 0.5257 MB / 447.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.731e-05/0.1701, allocations: 20.38 kB / 447.4 MB, free: 42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.1703, allocations: 238 kB / 447.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1705, allocations: 179.6 kB / 447.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.1705, allocations: 18.31 kB / 447.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003873/0.1709, allocations: 376.2 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.1709, allocations: 107 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.171, allocations: 123.4 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.1715, allocations: 0.7453 MB / 449.2 MB, free: 41.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1715, allocations: 4 kB / 449.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1715, allocations: 0 / 449.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1715, allocations: 0 / 449.2 MB, free: 41.38 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0007307/0.1723, allocations: 0.7526 MB / 450 MB, free: 40.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1723, allocations: 8.188 kB / 450 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.853e-05/0.1724, allocations: 95.73 kB / 450.1 MB, free: 40.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.1726, allocations: 88.05 kB / 450.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1728, allocations: 250.4 kB / 450.4 MB, free: 40.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1728, allocations: 38.09 kB / 450.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.1729, allocations: 56.09 kB / 450.5 MB, free: 40.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005815/0.1734, allocations: 0.6966 MB / 451.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1735, allocations: 3.938 kB / 451.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.1735, allocations: 22.03 kB / 451.2 MB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.1735, allocations: 23.97 kB / 451.2 MB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.174, allocations: 0.4936 MB / 451.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.1752, allocations: 1.405 MB / 453.1 MB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.1756, allocations: 310.9 kB / 453.4 MB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1757, allocations: 145.7 kB / 453.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.1758, allocations: 12.77 kB / 453.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.1758, allocations: 45.25 kB / 453.6 MB, free: 39.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.265e-06/0.1758, allocations: 0 / 453.6 MB, free: 39.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007029/0.1765, allocations: 0.5079 MB / 454.1 MB, free: 39.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.1765, allocations: 110.1 kB / 454.2 MB, free: 38.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.1769, allocations: 0.5701 MB / 454.8 MB, free: 38.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1769, allocations: 29.7 kB / 454.8 MB, free: 38.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.496e-05/0.177, allocations: 238.6 kB / 455.1 MB, free: 38.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.177, allocations: 85.28 kB / 455.2 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.1771, allocations: 78.3 kB / 455.2 MB, free: 38.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.1771, allocations: 362.1 kB / 455.6 MB, free: 38.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.1773, allocations: 143.4 kB / 455.7 MB, free: 37.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.1775, allocations: 257.9 kB / 456 MB, free: 37.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.1779, allocations: 421.2 kB / 456.4 MB, free: 37.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1779, allocations: 0 / 456.4 MB, free: 37.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005074/0.1784, allocations: 490.1 kB / 456.9 MB, free: 37.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1784, allocations: 9.469 kB / 456.9 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-05/0.1785, allocations: 43.78 kB / 456.9 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1785, allocations: 10.25 kB / 456.9 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1786, allocations: 41.89 kB / 457 MB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1786, allocations: 10.12 kB / 457 MB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.1788, allocations: 67.59 kB / 457 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.1788, allocations: 19.06 kB / 457.1 MB, free: 37.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.1789, allocations: 217.9 kB / 457.3 MB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.179, allocations: 42.81 kB / 457.3 MB, free: 37.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/0.1795, allocations: 474.3 kB / 457.8 MB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1795, allocations: 3.219 kB / 457.8 MB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1795, allocations: 3.938 kB / 457.8 MB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1795, allocations: 3.125 kB / 457.8 MB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.1798, allocations: 349.5 kB / 458.1 MB, free: 36.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.041e-05/0.1798, allocations: 39.58 kB / 458.2 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.1799, allocations: 29.8 kB / 458.2 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1799, allocations: 6.5 kB / 458.2 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1799, allocations: 17.06 kB / 458.2 MB, free: 36.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1799, allocations: 0 / 458.2 MB, free: 36.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1799, allocations: 2.266 kB / 458.2 MB, free: 36.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.1804, allocations: 0.6266 MB / 458.9 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.1804, allocations: 57.45 kB / 458.9 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.1805, allocations: 0 / 458.9 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1806, allocations: 27.02 kB / 458.9 MB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.1807, allocations: 29.42 kB / 459 MB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1807, allocations: 16.11 kB / 459 MB, free: 36.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002357/0.1809, allocations: 414.7 kB / 459.4 MB, free: 36.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1809, allocations: 0 / 459.4 MB, free: 36.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004735/0.1814, allocations: 177.3 kB / 459.6 MB, free: 36.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008987/0.1823, allocations: 1.312 MB / 460.9 MB, free: 35.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005467/0.1828, allocations: 0.6654 MB / 461.5 MB, free: 34.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1828, allocations: 0 / 461.5 MB, free: 34.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.1831, allocations: 480 kB / 462 MB, free: 34.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.1835, allocations: 107.3 kB / 462.1 MB, free: 34.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.1875, allocations: 5.43 MB / 467.5 MB, free: 31.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.1876, allocations: 280.5 kB / 467.8 MB, free: 31.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.1878, allocations: 80.12 kB / 467.9 MB, free: 31.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1879, allocations: 129.7 kB / 468 MB, free: 31.57 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1879, allocations: 4 kB / 468 MB, free: 31.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.214, allocations: 15.69 MB / 483.7 MB, free: 29.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.469, allocations: 1.188 kB / 483.7 MB, free: 29.4 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mflow_test in file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.519162296317518]