Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.0008716/0.0008716, allocations: 80.34 kB / 20.67 MB, free: 3.887 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.0008564/0.0008564, allocations: 156.9 kB / 23.95 MB, free: 0.6094 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.9112/0.9112, 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.2316/0.2316, allocations: 34.24 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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.791e-05, allocations: 6.281 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.1596/0.1596, allocations: 2.047 MB / 444.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1609, allocations: 1.262 MB / 445.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.161, allocations: 2.719 kB / 445.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.1612, allocations: 82.62 kB / 445.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.1613, allocations: 68.94 kB / 445.7 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1617, allocations: 218.3 kB / 445.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1618, allocations: 159.9 kB / 446 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.1618, allocations: 13.05 kB / 446 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.162, allocations: 88.7 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.162, allocations: 50.47 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1621, allocations: 2.594 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.1623, allocations: 209.1 kB / 446.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.1623, allocations: 27.28 kB / 446.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.1624, allocations: 44.94 kB / 446.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.1626, allocations: 385.3 kB / 446.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1626, allocations: 4 kB / 446.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1626, allocations: 0 / 446.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1626, allocations: 0 / 446.8 MB, free: 42.36 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0003897/0.163, allocations: 432.1 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1631, allocations: 8.312 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.1631, allocations: 56.38 kB / 447.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.1631, allocations: 21.42 kB / 447.3 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1633, allocations: 155.5 kB / 447.5 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1633, allocations: 13.84 kB / 447.5 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.1633, allocations: 14.38 kB / 447.5 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.1635, allocations: 212.8 kB / 447.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1635, allocations: 7.875 kB / 447.7 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1635, allocations: 6.875 kB / 447.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1635, allocations: 2.688 kB / 447.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.1637, allocations: 154.8 kB / 447.9 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.1642, allocations: 0.5187 MB / 448.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1643, allocations: 65.09 kB / 448.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.1644, allocations: 36.2 kB / 448.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1644, allocations: 0 / 448.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.1644, allocations: 37.11 kB / 448.5 MB, free: 41.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 6.01e-07/0.1644, allocations: 0 / 448.5 MB, free: 41.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002526/0.1647, allocations: 133.2 kB / 448.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.1647, allocations: 54.25 kB / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1648, allocations: 263.8 kB / 449 MB, free: 40.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.1649, allocations: 29.64 kB / 449 MB, free: 40.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.1649, allocations: 164.7 kB / 449.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.1649, allocations: 22.64 kB / 449.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.165, allocations: 42.08 kB / 449.2 MB, free: 40.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.541e-05/0.165, allocations: 331 kB / 449.6 MB, free: 40.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.1651, allocations: 37.89 kB / 449.6 MB, free: 40.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.629e-05/0.1651, allocations: 126.5 kB / 449.7 MB, free: 40.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1653, allocations: 186.4 kB / 449.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1653, allocations: 4.594 kB / 449.9 MB, free: 40.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001935/0.1655, allocations: 207.4 kB / 450.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1655, allocations: 5.844 kB / 450.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.1655, allocations: 11.44 kB / 450.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1655, allocations: 5.875 kB / 450.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.952e-05/0.1656, allocations: 31.23 kB / 450.2 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1656, allocations: 9.625 kB / 450.2 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.1657, allocations: 39.14 kB / 450.2 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.1657, allocations: 11.06 kB / 450.2 MB, free: 39.98 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: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6.069e-05/0.1658, allocations: 132.3 kB / 450.4 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.1658, allocations: 20.47 kB / 450.4 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.166, allocations: 141.4 kB / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.166, allocations: 6.25 kB / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.166, allocations: 0 / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.166, allocations: 4 kB / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.1661, allocations: 184.8 kB / 450.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.1661, allocations: 14.39 kB / 450.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.1661, allocations: 5.719 kB / 450.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1661, allocations: 3.328 kB / 450.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1661, allocations: 6.906 kB / 450.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.1661, allocations: 0 / 450.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-07/0.1661, allocations: 0 / 450.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.1663, allocations: 211.2 kB / 450.9 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.1663, allocations: 21.52 kB / 451 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1663, allocations: 3.281 kB / 451 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.1664, allocations: 2.875 kB / 451 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.1664, allocations: 6.062 kB / 451 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1664, allocations: 2.844 kB / 451 MB, free: 39.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.413e-05/0.1665, allocations: 184.5 kB / 451.2 MB, free: 39.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1665, allocations: 0 / 451.2 MB, free: 39.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000219/0.1667, allocations: 72.88 kB / 451.2 MB, free: 39.29 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000362/0.167, allocations: 0.8108 MB / 452 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.1673, allocations: 172.3 kB / 452.2 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.1673, allocations: 0.875 kB / 452.2 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.1674, allocations: 97.53 kB / 452.3 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1676, allocations: 20.19 kB / 452.3 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1691, allocations: 2.384 MB / 454.7 MB, free: 36.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.522e-05/0.1692, allocations: 120.1 kB / 454.8 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.605e-05/0.1692, allocations: 20.23 kB / 454.8 MB, free: 36.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.1693, allocations: 55.78 kB / 454.9 MB, free: 36.5 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1693, allocations: 0 / 454.9 MB, free: 36.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.1866, allocations: 7.258 MB / 462.2 MB, free: 35.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.099, allocations: 4.219 kB / 462.2 MB, free: 35.24 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.073534497991204]