Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.001305/0.001305, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.0014/0.0014, allocations: 213.2 kB / 23.73 MB, free: 4.164 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.382/1.382, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.217/0.217, allocations: 46.96 MB / 360.8 MB, free: 3.918 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_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 83.86 kB / 0.4962 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2982, allocations: 66.09 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003414/0.3016, allocations: 2.023 MB / 0.5627 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.3041, allocations: 1.536 MB / 0.5642 GB, free: 444 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.3042, allocations: 3.938 kB / 0.5642 GB, free: 440 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.3046, allocations: 87.39 kB / 0.5643 GB, free: 352 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.3047, allocations: 67.42 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009172/0.3056, allocations: 354.7 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.3058, allocations: 151 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.688e-05/0.3059, allocations: 12.59 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.219e-05/0.306, allocations: 55.61 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3061, allocations: 63.53 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3062, allocations: 4 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009985/0.3072, allocations: 0.5149 MB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.3072, allocations: 27.86 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.3073, allocations: 59.55 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007518/0.308, allocations: 0.5216 MB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.308, allocations: 0 / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.308, allocations: 0 / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3081, allocations: 0 / 0.5661 GB, free: 14.52 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006811/0.3087, allocations: 457.3 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3088, allocations: 8.031 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.973e-05/0.3088, allocations: 62.67 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.3089, allocations: 24.8 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.3091, allocations: 162.5 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3091, allocations: 16.44 kB / 0.5668 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.3091, allocations: 16 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.3096, allocations: 267.5 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3096, allocations: 0 / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.3096, allocations: 12 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3096, allocations: 4 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.31, allocations: 164.2 kB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3111, allocations: 0.8578 MB / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.3113, allocations: 58.55 kB / 0.5681 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3114, allocations: 28.94 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.3114, allocations: 4 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.3115, allocations: 34.5 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3115, allocations: 4 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004483/0.3119, allocations: 137.4 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.312, allocations: 51.41 kB / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.3123, allocations: 276 kB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3123, allocations: 25.7 kB / 0.5686 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.3124, allocations: 187.5 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3124, allocations: 23.78 kB / 0.5688 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.3125, allocations: 57.66 kB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3127, allocations: 330.8 kB / 0.5692 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.3128, allocations: 48.19 kB / 0.5692 GB, free: 11.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.3131, allocations: 189.4 kB / 0.5694 GB, free: 10.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.3135, allocations: 259.4 kB / 0.5697 GB, free: 10.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3135, allocations: 192 / 0.5697 GB, free: 10.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004948/0.314, allocations: 268.9 kB / 0.5699 GB, free: 10.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.314, allocations: 8 kB / 0.5699 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/0.314, allocations: 12 kB / 0.57 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.3141, allocations: 16.56 kB / 0.57 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3142, allocations: 43.91 kB / 0.57 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3143, allocations: 12 kB / 0.57 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.3144, allocations: 51.59 kB / 0.5701 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.3145, allocations: 16 kB / 0.5701 GB, free: 10.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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.0001286/0.3146, allocations: 129.8 kB / 0.5702 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.3146, allocations: 19.86 kB / 0.5702 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.315, allocations: 142.9 kB / 0.5704 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.315, allocations: 7.938 kB / 0.5704 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.315, allocations: 0 / 0.5704 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.315, allocations: 0 / 0.5704 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.3153, allocations: 180.7 kB / 0.5705 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/0.3153, allocations: 8.141 kB / 0.5706 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.3153, allocations: 7.984 kB / 0.5706 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3153, allocations: 7.984 kB / 0.5706 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3153, allocations: 8 kB / 0.5706 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3153, allocations: 3.938 kB / 0.5706 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3153, allocations: 3.938 kB / 0.5706 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.3157, allocations: 199.4 kB / 0.5708 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.3157, allocations: 23.84 kB / 0.5708 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.3157, allocations: 0 / 0.5708 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3158, allocations: 7.938 kB / 0.5708 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.3159, allocations: 11.98 kB / 0.5708 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.3159, allocations: 4 kB / 0.5708 GB, free: 9.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.3161, allocations: 187.1 kB / 0.571 GB, free: 9.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3161, allocations: 0 / 0.571 GB, free: 9.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004881/0.3166, allocations: 99.81 kB / 0.5711 GB, free: 8.918 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.0009927/0.3175, allocations: 0.8486 MB / 0.5719 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004841/0.318, allocations: 191.8 kB / 0.5721 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.318, allocations: 0 / 0.5721 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.3182, allocations: 103.9 kB / 0.5722 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3186, allocations: 24.91 kB / 0.5722 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.3217, allocations: 2.497 MB / 0.5747 GB, free: 4.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.3219, allocations: 125.6 kB / 0.5748 GB, free: 4.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.74e-05/0.3219, allocations: 25.94 kB / 0.5748 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.978e-05/0.322, allocations: 55.42 kB / 0.5749 GB, free: 4.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.322, allocations: 0 / 0.5749 GB, free: 4.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03669/0.3587, allocations: 9.315 MB / 0.584 GB, free: 11.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.88, allocations: 23.17 kB / 0.584 GB, free: 11.61 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.672107428777963]