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.00155/0.00155, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001876/0.001876, allocations: 214 kB / 23.74 MB, free: 4.66 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.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2223/0.2223, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.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 0.002293/0.002293, allocations: 79.88 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3272, allocations: 66.08 MB / 0.5608 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003682/0.3309, allocations: 2.146 MB / 0.5629 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.3331, allocations: 1.431 MB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.003e-05/0.3332, allocations: 0 / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.3336, allocations: 87.39 kB / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.3338, allocations: 71.41 kB / 0.5644 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.3343, allocations: 215.1 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.3345, allocations: 143 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.187e-05/0.3346, allocations: 16.58 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.3348, allocations: 63.61 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3349, allocations: 67.52 kB / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3349, allocations: 4 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006461/0.3355, allocations: 447.3 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.3356, allocations: 19.86 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.903e-05/0.3357, allocations: 67.5 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.3363, allocations: 442.3 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3363, allocations: 4 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3363, allocations: 0 / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.3363, allocations: 3.938 kB / 0.5658 GB, free: 15.09 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006942/0.337, allocations: 433 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.337, allocations: 16.03 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.86e-05/0.3371, allocations: 50.73 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.3372, allocations: 28.73 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.3374, allocations: 154.2 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.3374, allocations: 16.38 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.3374, allocations: 15.94 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.3378, allocations: 202.7 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3378, allocations: 0 / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3378, allocations: 8 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3379, allocations: 12 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.3382, allocations: 156.2 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.339, allocations: 0.5445 MB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3392, allocations: 58.55 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3393, allocations: 28.95 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.3394, allocations: 4 kB / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.3394, allocations: 34.56 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.3394, allocations: 0 / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004394/0.3399, allocations: 137.4 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3399, allocations: 51.41 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.3402, allocations: 257.9 kB / 0.568 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.3402, allocations: 29.7 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3403, allocations: 171.9 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.3403, allocations: 15.91 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.3404, allocations: 45.66 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3406, allocations: 334.8 kB / 0.5685 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.3407, allocations: 31.97 kB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.3409, allocations: 139.5 kB / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.3412, allocations: 184.6 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3412, allocations: 0 / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004033/0.3416, allocations: 213.3 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3417, allocations: 8 kB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.3417, allocations: 8.438 kB / 0.5691 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3417, allocations: 12 kB / 0.5691 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3418, allocations: 35.91 kB / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3418, allocations: 7.984 kB / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.342, allocations: 27.78 kB / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.342, allocations: 12 kB / 0.5692 GB, free: 11.39 MB / 414.1 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 0.0001147/0.3421, allocations: 135 kB / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.3421, allocations: 19.86 kB / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.3425, allocations: 139 kB / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3425, allocations: 4 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3425, allocations: 0 / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3425, allocations: 0 / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.3428, allocations: 196.6 kB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.3428, allocations: 12 kB / 0.5697 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.3429, allocations: 7.984 kB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3429, allocations: 7.875 kB / 0.5697 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3429, allocations: 4 kB / 0.5697 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3429, allocations: 0 / 0.5697 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3429, allocations: 0 / 0.5697 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.3432, allocations: 207.3 kB / 0.5699 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.3432, allocations: 23.78 kB / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.3433, allocations: 4 kB / 0.5699 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.3434, allocations: 7.984 kB / 0.5699 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.3434, allocations: 4 kB / 0.5699 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3434, allocations: 4 kB / 0.5699 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.3436, allocations: 181.2 kB / 0.5701 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3436, allocations: 0 / 0.5701 GB, free: 10.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.344, allocations: 75.75 kB / 0.5702 GB, free: 10.29 MB / 414.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 (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.000938/0.3449, allocations: 0.8097 MB / 0.571 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.3454, allocations: 168.1 kB / 0.5711 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3454, allocations: 3.938 kB / 0.5711 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.3456, allocations: 99.31 kB / 0.5712 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.346, allocations: 24.92 kB / 0.5712 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.3492, allocations: 2.386 MB / 0.5736 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.3496, allocations: 0.7281 MB / 0.5743 GB, free: 5.836 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.3497, allocations: 17.48 kB / 0.5743 GB, free: 5.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.3497, allocations: 55.42 kB / 0.5743 GB, free: 5.762 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3497, allocations: 0 / 0.5743 GB, free: 5.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.3838, allocations: 6.958 MB / 0.5811 GB, free: 14.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.09, allocations: 19.73 kB / 0.5812 GB, free: 14.93 MB / 430.1 MB " [Timeout remaining time 647] (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/jenkins1/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/jenkins1/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: 16.091018426930532]