Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.00128/0.00128, allocations: 112.5 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.001618/0.001618, allocations: 212.3 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.421/1.421, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.2283/0.2283, allocations: 46.92 MB / 360.8 MB, free: 4.172 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_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 79.88 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3416, allocations: 66.09 MB / 0.5608 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003518/0.3451, allocations: 2.206 MB / 0.5629 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3468, allocations: 1.115 MB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.3469, allocations: 0 / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.3472, allocations: 95.31 kB / 0.5641 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.3475, allocations: 91.33 kB / 0.5642 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.3477, allocations: 111.6 kB / 0.5643 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.348, allocations: 182.8 kB / 0.5645 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.348, allocations: 12.59 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.3482, allocations: 83.47 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3483, allocations: 91.48 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3483, allocations: 4 kB / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.3487, allocations: 255.7 kB / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.3488, allocations: 35.84 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.305e-05/0.3489, allocations: 83.36 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.3494, allocations: 334.4 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3494, allocations: 0 / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3494, allocations: 0 / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3494, allocations: 0 / 0.5653 GB, free: 15.57 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006351/0.3501, allocations: 437.6 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3501, allocations: 8.031 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.3502, allocations: 58.72 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.3502, allocations: 28.73 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.3504, allocations: 158.2 kB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3504, allocations: 16.81 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.3505, allocations: 23.94 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.3509, allocations: 235.2 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3509, allocations: 3.938 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3509, allocations: 8 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3509, allocations: 4 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.3513, allocations: 261.5 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009687/0.3523, allocations: 0.5888 MB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.3526, allocations: 102.6 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.3527, allocations: 36.92 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.3527, allocations: 3.984 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3528, allocations: 42.5 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.3528, allocations: 0 / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005227/0.3533, allocations: 165.4 kB / 0.5674 GB, free: 13.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3533, allocations: 59.41 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.3536, allocations: 272.1 kB / 0.5677 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3536, allocations: 25.7 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3538, allocations: 171.4 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.3538, allocations: 31.73 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.3539, allocations: 57.66 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.354, allocations: 334.8 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3542, allocations: 47.97 kB / 0.5684 GB, free: 12.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.3544, allocations: 146.1 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.3548, allocations: 212.6 kB / 0.5687 GB, free: 11.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3548, allocations: 4 kB / 0.5687 GB, free: 11.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00046/0.3552, allocations: 237.3 kB / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3552, allocations: 4 kB / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3552, allocations: 4 kB / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3553, allocations: 4 kB / 0.569 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.3557, allocations: 91.89 kB / 0.5691 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000831/0.3565, allocations: 1.219 MB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.3567, allocations: 39.72 kB / 0.5703 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.3567, allocations: 16 kB / 0.5703 GB, free: 10.15 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.3568, allocations: 130.2 kB / 0.5704 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.3569, allocations: 24.05 kB / 0.5704 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.3573, allocations: 179.5 kB / 0.5706 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3573, allocations: 0 / 0.5706 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3573, allocations: 0 / 0.5706 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3573, allocations: 0 / 0.5706 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006364/0.358, allocations: 431.1 kB / 0.571 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.358, allocations: 96 / 0.571 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.3582, allocations: 63.91 kB / 0.5711 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3582, allocations: 0 / 0.5711 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3582, allocations: 4 kB / 0.5711 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007381/0.359, allocations: 1.215 MB / 0.5723 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.359, allocations: 0 / 0.5723 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.3593, allocations: 253.2 kB / 0.5725 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.3594, allocations: 23.78 kB / 0.5725 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.3594, allocations: 4 kB / 0.5726 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3596, allocations: 11.98 kB / 0.5726 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.3596, allocations: 11.92 kB / 0.5726 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.3596, allocations: 4 kB / 0.5726 GB, free: 7.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.3598, allocations: 195.1 kB / 0.5728 GB, free: 7.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 0 / 0.5728 GB, free: 7.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.3602, allocations: 67.88 kB / 0.5728 GB, free: 7.422 MB / 414.1 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008271/0.361, allocations: 0.8153 MB / 0.5736 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000523/0.3615, allocations: 167.7 kB / 0.5738 GB, free: 6.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3615, allocations: 0 / 0.5738 GB, free: 6.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.3618, allocations: 80.89 kB / 0.5739 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.3622, allocations: 32.48 kB / 0.5739 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.3654, allocations: 2.56 MB / 0.5764 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3658, allocations: 0.7284 MB / 0.5771 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.023e-05/0.3659, allocations: 21.95 kB / 0.5771 GB, free: 2.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/0.366, allocations: 67.41 kB / 0.5772 GB, free: 2.723 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.366, allocations: 0 / 0.5772 GB, free: 2.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.3995, allocations: 6.303 MB / 0.5833 GB, free: 12.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.98, allocations: 11.36 kB / 0.5834 GB, free: 12.55 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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: 15.942267186008394]