Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008083/0.0008083, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000882/0.000882, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8462/0.8462, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1311/0.1311, allocations: 32.38 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.402e-06/1.402e-06, allocations: 0 / 406.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.655e-05, allocations: 13.81 kB / 406.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002512/0.002539, allocations: 2.026 MB / 408.9 MB, free: 152 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.003894, allocations: 1.266 MB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.275e-05/0.003987, allocations: 4 kB / 410.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.004255, allocations: 87.34 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.004399, allocations: 59.44 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.004901, allocations: 219 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.005052, allocations: 158.9 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.005107, allocations: 16.58 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.00524, allocations: 75.69 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/0.005315, allocations: 51.77 kB / 410.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.00533, allocations: 4 kB / 410.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.005596, allocations: 195.7 kB / 411 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.005655, allocations: 27.84 kB / 411.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.005705, allocations: 43.8 kB / 411.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.006082, allocations: 390.5 kB / 411.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.006086, allocations: 0 / 411.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.006088, allocations: 0 / 411.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.006093, allocations: 0 / 411.5 MB, free: 13.57 MB / 394.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.0005153/0.006608, allocations: 437 kB / 411.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.006652, allocations: 8.031 kB / 411.9 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.006697, allocations: 54.73 kB / 412 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.006733, allocations: 24.8 kB / 412 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.006887, allocations: 149.5 kB / 412.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.006903, allocations: 20.38 kB / 412.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.006921, allocations: 16.38 kB / 412.2 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.007204, allocations: 218.7 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.007214, allocations: 3.938 kB / 412.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.007225, allocations: 4 kB / 412.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.007233, allocations: 7.984 kB / 412.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.0074, allocations: 152.3 kB / 412.6 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.008003, allocations: 0.5291 MB / 413.1 MB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.008137, allocations: 66.48 kB / 413.2 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.008193, allocations: 28.95 kB / 413.2 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.008222, allocations: 4 kB / 413.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.008241, allocations: 30.56 kB / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.008242, allocations: 0 / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002705/0.008513, allocations: 137.5 kB / 413.3 MB, free: 11.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.008545, allocations: 51.41 kB / 413.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.008729, allocations: 269.8 kB / 413.7 MB, free: 11.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.008747, allocations: 29.69 kB / 413.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.008884, allocations: 163.9 kB / 413.8 MB, free: 11.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.008901, allocations: 11.86 kB / 413.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.008955, allocations: 41.7 kB / 413.9 MB, free: 10.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.009068, allocations: 334.8 kB / 414.2 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.009174, allocations: 27.98 kB / 414.3 MB, free: 10.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.009301, allocations: 144.7 kB / 414.4 MB, free: 10.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.009491, allocations: 188.6 kB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.009496, allocations: 4 kB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002663/0.009762, allocations: 197.2 kB / 414.8 MB, free: 9.988 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.009785, allocations: 8 kB / 414.8 MB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.009816, allocations: 12 kB / 414.8 MB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.009837, allocations: 4 kB / 414.8 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.009942, allocations: 31.92 kB / 414.8 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.009953, allocations: 11.98 kB / 414.8 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.01004, allocations: 32.14 kB / 414.9 MB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.01005, allocations: 16 kB / 414.9 MB, free: 9.875 MB / 394.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 8.848e-05/0.01014, allocations: 129.7 kB / 415 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.01017, allocations: 19.86 kB / 415 MB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.0104, allocations: 139 kB / 415.2 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01041, allocations: 0 / 415.2 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01041, allocations: 3.938 kB / 415.2 MB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01041, allocations: 0 / 415.2 MB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.01057, allocations: 192.6 kB / 415.4 MB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.01058, allocations: 8.188 kB / 415.4 MB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.01061, allocations: 11.98 kB / 415.4 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01061, allocations: 4 kB / 415.4 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.01062, allocations: 0 / 415.4 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01062, allocations: 0 / 415.4 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01062, allocations: 0 / 415.4 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.01082, allocations: 219.2 kB / 415.6 MB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.01085, allocations: 19.8 kB / 415.6 MB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.01087, allocations: 0 / 415.6 MB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.048e-05/0.01092, allocations: 7.984 kB / 415.6 MB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.01096, allocations: 8 kB / 415.6 MB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.01096, allocations: 4 kB / 415.6 MB, free: 9.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.01107, allocations: 177.2 kB / 415.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01107, allocations: 0 / 415.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.01138, allocations: 75.81 kB / 415.9 MB, free: 8.797 MB / 394.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.0005731/0.01196, allocations: 0.8173 MB / 416.7 MB, free: 7.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.01226, allocations: 160.3 kB / 416.9 MB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01227, allocations: 11.94 kB / 416.9 MB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/0.01236, allocations: 103.4 kB / 417 MB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.01268, allocations: 25.05 kB / 417 MB, free: 7.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.0147, allocations: 2.359 MB / 419.4 MB, free: 5.102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.37e-05/0.01477, allocations: 124.9 kB / 419.5 MB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.01482, allocations: 21.42 kB / 419.5 MB, free: 4.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.01488, allocations: 60.48 kB / 419.6 MB, free: 4.879 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01488, allocations: 0 / 419.6 MB, free: 4.879 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.03583, allocations: 7.218 MB / 426.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.797, allocations: 0 / 426.8 MB, free: 13.64 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.738210774958134]