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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 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 1.41/1.41, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] 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.3128/0.3128, allocations: 44.23 MB / 326.5 MB, free: 6.812 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 71.89 kB / 462.2 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.252, allocations: 60.99 MB / 0.5109 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002683/0.2547, allocations: 2.126 MB / 0.513 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.2562, allocations: 1.427 MB / 0.5144 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.2563, allocations: 1.594 kB / 0.5144 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.2565, allocations: 85.59 kB / 0.5145 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.2566, allocations: 76.34 kB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.2571, allocations: 204.7 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.2573, allocations: 145.3 kB / 0.5149 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.2573, allocations: 17.3 kB / 0.5149 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2574, allocations: 60.42 kB / 0.515 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.2575, allocations: 66.88 kB / 0.515 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2575, allocations: 4.156 kB / 0.515 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.258, allocations: 429.5 kB / 0.5154 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.2581, allocations: 21.86 kB / 0.5155 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.2581, allocations: 74.05 kB / 0.5155 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.2586, allocations: 434.4 kB / 0.5159 GB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2586, allocations: 0 / 0.5159 GB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2586, allocations: 5.312 kB / 0.516 GB, free: 9.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.2586, allocations: 7.938 kB / 0.516 GB, free: 9.324 MB / 382.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.0005069/0.2591, allocations: 0.4962 MB / 0.5164 GB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2591, allocations: 9.625 kB / 0.5165 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.2592, allocations: 56.22 kB / 0.5165 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.2592, allocations: 27.8 kB / 0.5165 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.2594, allocations: 209.7 kB / 0.5167 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.2594, allocations: 11.25 kB / 0.5167 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.2594, allocations: 24.31 kB / 0.5168 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.2597, allocations: 207.8 kB / 0.517 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2597, allocations: 0 / 0.517 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.2597, allocations: 9.375 kB / 0.517 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2597, allocations: 5.5 kB / 0.517 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.26, allocations: 146.4 kB / 0.5171 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/0.2607, allocations: 0.5819 MB / 0.5177 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2608, allocations: 57.2 kB / 0.5177 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.308e-05/0.2609, allocations: 35.22 kB / 0.5178 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.261, allocations: 5.641 kB / 0.5178 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.099e-05/0.261, allocations: 31.94 kB / 0.5178 GB, free: 7.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.261, allocations: 0 / 0.5178 GB, free: 7.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003918/0.2614, allocations: 135.5 kB / 0.5179 GB, free: 7.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.2614, allocations: 56.95 kB / 0.518 GB, free: 7.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2615, allocations: 254.3 kB / 0.5182 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.2615, allocations: 25.7 kB / 0.5183 GB, free: 7.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.2616, allocations: 167.9 kB / 0.5184 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.2616, allocations: 23.83 kB / 0.5184 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.2617, allocations: 41.67 kB / 0.5185 GB, free: 7.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.25e-05/0.2617, allocations: 338.8 kB / 0.5188 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.2618, allocations: 39.88 kB / 0.5188 GB, free: 6.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.2619, allocations: 128.8 kB / 0.519 GB, free: 6.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.2622, allocations: 184.6 kB / 0.5191 GB, free: 6.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2622, allocations: 0 / 0.5191 GB, free: 6.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003127/0.2625, allocations: 201.3 kB / 0.5193 GB, free: 6.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2625, allocations: 11.98 kB / 0.5193 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.2625, allocations: 12 kB / 0.5194 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2625, allocations: 4 kB / 0.5194 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2626, allocations: 31.92 kB / 0.5194 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2627, allocations: 4 kB / 0.5194 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.2628, allocations: 35.77 kB / 0.5194 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.2628, allocations: 8.469 kB / 0.5194 GB, free: 5.949 MB / 382.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 6.974e-05/0.2629, allocations: 133.7 kB / 0.5196 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.2629, allocations: 23.86 kB / 0.5196 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.2632, allocations: 142.9 kB / 0.5197 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2632, allocations: 0 / 0.5197 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2632, allocations: 3.938 kB / 0.5197 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2632, allocations: 0 / 0.5197 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.2634, allocations: 225.4 kB / 0.5199 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.2634, allocations: 15.98 kB / 0.52 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.2634, allocations: 4 kB / 0.52 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2634, allocations: 7.938 kB / 0.52 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.2634, allocations: 0 / 0.52 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2634, allocations: 0 / 0.52 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2634, allocations: 7.938 kB / 0.52 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2637, allocations: 207.3 kB / 0.5202 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.2637, allocations: 93.02 kB / 0.5203 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.2637, allocations: 3.984 kB / 0.5203 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.2638, allocations: 4 kB / 0.5203 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.2639, allocations: 8 kB / 0.5203 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.2639, allocations: 7.984 kB / 0.5203 GB, free: 4.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.264, allocations: 178 kB / 0.5205 GB, free: 4.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.264, allocations: 0 / 0.5205 GB, free: 4.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.2643, allocations: 83.69 kB / 0.5205 GB, free: 4.723 MB / 382.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.0005236/0.2648, allocations: 0.806 MB / 0.5213 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.2652, allocations: 171.2 kB / 0.5215 GB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2652, allocations: 0.875 kB / 0.5215 GB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.2653, allocations: 99.31 kB / 0.5216 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.2657, allocations: 31.31 kB / 0.5216 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.2676, allocations: 2.366 MB / 0.5239 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.2677, allocations: 0.7359 MB / 0.5246 GB, free: 284 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.811e-05/0.2678, allocations: 13.55 kB / 0.5247 GB, free: 268 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.2678, allocations: 59.41 kB / 0.5247 GB, free: 212 kB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2678, allocations: 0 / 0.5247 GB, free: 212 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.2988, allocations: 6.791 MB / 0.5313 GB, free: 9.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.09, allocations: 11.52 kB / 0.5314 GB, free: 9.395 MB / 398.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.861724626272917]