Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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.0008916/0.0008916, allocations: 80.36 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.001007/0.001007, allocations: 160.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.8866/0.8866, allocations: 177 MB / 204.1 MB, free: 5.723 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.2382/0.2382, allocations: 34.25 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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.016e-05, allocations: 6.219 kB / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.1718/0.1719, allocations: 2.098 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1729, allocations: 0.8613 MB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.173, allocations: 4.875 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.1733, allocations: 67.28 kB / 445.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1736, allocations: 162.7 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.1739, allocations: 86.61 kB / 445.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.1742, allocations: 0.4997 MB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.639e-05/0.1743, allocations: 21.12 kB / 446 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.1745, allocations: 246 kB / 446.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.1747, allocations: 208.4 kB / 446.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1748, allocations: 13.28 kB / 446.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.1749, allocations: 73.38 kB / 446.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.175, allocations: 121.2 kB / 446.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/0.1751, allocations: 127.4 kB / 446.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.1755, allocations: 500 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1755, allocations: 2.719 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1755, allocations: 0 / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.1755, allocations: 0 / 447.3 MB, free: 42.34 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.0007221/0.1762, allocations: 0.6852 MB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1763, allocations: 11.22 kB / 448 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.409e-05/0.1763, allocations: 102 kB / 448.1 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.1764, allocations: 57.78 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.1766, allocations: 245.2 kB / 448.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1766, allocations: 41.3 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.1767, allocations: 47.69 kB / 448.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.1773, allocations: 0.7142 MB / 449.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1774, allocations: 0 / 449.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.1774, allocations: 17.78 kB / 449.2 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.1774, allocations: 59.09 kB / 449.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007893/0.1782, allocations: 0.74 MB / 450 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.1795, allocations: 1.337 MB / 451.3 MB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.18, allocations: 440.9 kB / 451.7 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.1801, allocations: 149.5 kB / 451.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.1802, allocations: 14.42 kB / 451.9 MB, free: 40.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.1802, allocations: 33.86 kB / 451.9 MB, free: 40.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.244e-06/0.1802, allocations: 0 / 451.9 MB, free: 40.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006898/0.1809, allocations: 0.5443 MB / 452.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.1809, allocations: 57.45 kB / 452.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.1813, allocations: 0.5351 MB / 453.1 MB, free: 39.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1813, allocations: 33.64 kB / 453.1 MB, free: 39.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.1814, allocations: 230.6 kB / 453.3 MB, free: 39.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.1814, allocations: 99.81 kB / 453.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.1815, allocations: 89.14 kB / 453.5 MB, free: 39.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.1815, allocations: 354.9 kB / 453.8 MB, free: 39.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.1817, allocations: 160.4 kB / 454 MB, free: 39.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.1819, allocations: 253.6 kB / 454.3 MB, free: 39.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.1823, allocations: 428.4 kB / 454.7 MB, free: 38.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1823, allocations: 2.812 kB / 454.7 MB, free: 38.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005087/0.1828, allocations: 0.5023 MB / 455.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1829, allocations: 6.344 kB / 455.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1829, allocations: 3.156 kB / 455.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1829, allocations: 6.344 kB / 455.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.1834, allocations: 217.2 kB / 455.4 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.1847, allocations: 7.316 MB / 462.7 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.1849, allocations: 59.17 kB / 462.8 MB, free: 31.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.1849, allocations: 22.59 kB / 462.8 MB, free: 31.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0001721/0.1851, allocations: 223.8 kB / 463 MB, free: 31.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.1851, allocations: 45.34 kB / 463.1 MB, free: 31.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.1857, allocations: 0.5471 MB / 463.6 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1857, allocations: 3 kB / 463.6 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1857, allocations: 9.359 kB / 463.6 MB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1857, allocations: 10.27 kB / 463.6 MB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.186, allocations: 370.7 kB / 464 MB, free: 31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.186, allocations: 0 / 464 MB, free: 31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.1864, allocations: 211.7 kB / 464.2 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1864, allocations: 112 / 464.2 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.1865, allocations: 17.58 kB / 464.2 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.1877, allocations: 7.311 MB / 471.5 MB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1877, allocations: 0 / 471.5 MB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.1881, allocations: 0.5075 MB / 472 MB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.68e-05/0.1882, allocations: 53.31 kB / 472.1 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.1882, allocations: 7.188 kB / 472.1 MB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1883, allocations: 10.69 kB / 472.1 MB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.1884, allocations: 19.81 kB / 472.1 MB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.1884, allocations: 17.44 kB / 472.1 MB, free: 23.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002502/0.1887, allocations: 396.6 kB / 472.5 MB, free: 23.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1887, allocations: 0 / 472.5 MB, free: 23.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.189, allocations: 133.3 kB / 472.7 MB, free: 23.37 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.001104/0.1901, allocations: 1.091 MB / 473.8 MB, free: 38.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007939/0.1909, allocations: 0.5256 MB / 474.3 MB, free: 38.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1909, allocations: 4 kB / 474.3 MB, free: 38.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.1914, allocations: 342.7 kB / 474.6 MB, free: 38.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1917, allocations: 96.08 kB / 474.7 MB, free: 38.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.1961, allocations: 5.295 MB / 480 MB, free: 35.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.1963, allocations: 293.8 kB / 480.3 MB, free: 35.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.1965, allocations: 131.3 kB / 480.4 MB, free: 35.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.1966, allocations: 145.4 kB / 480.6 MB, free: 35.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.363e-06/0.1966, allocations: 0 / 480.6 MB, free: 35.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.2246, allocations: 15.11 MB / 495.7 MB, free: 33.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.38, allocations: 20.42 kB / 495.7 MB, free: 33.72 MB / 426.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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.552056644111872]