Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008634/0.0008634, allocations: 96.52 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3576/0.3576, allocations: 44.99 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 4 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3222, allocations: 63.1 MB / 0.5214 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.001823/0.3241, allocations: 1.845 MB / 0.5232 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3253, allocations: 1.274 MB / 0.5244 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.3254, allocations: 0 / 0.5244 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.3257, allocations: 88.11 kB / 0.5245 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.326, allocations: 68.17 kB / 0.5246 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.3262, allocations: 101.5 kB / 0.5247 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.3264, allocations: 186.8 kB / 0.5249 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.3264, allocations: 19.41 kB / 0.5249 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3266, allocations: 67.89 kB / 0.5249 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.3267, allocations: 90.12 kB / 0.525 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3267, allocations: 5.094 kB / 0.525 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.3271, allocations: 248 kB / 0.5253 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.3271, allocations: 31.89 kB / 0.5253 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.3272, allocations: 110.1 kB / 0.5254 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.3275, allocations: 326.9 kB / 0.5257 GB, free: 35.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3275, allocations: 0 / 0.5257 GB, free: 35.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3275, allocations: 0 / 0.5257 GB, free: 35.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.3275, allocations: 4 kB / 0.5257 GB, free: 35.42 MB / 378.7 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.0004338/0.328, allocations: 466.4 kB / 0.5262 GB, free: 34.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.328, allocations: 11.12 kB / 0.5262 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.3281, allocations: 27.73 kB / 0.5262 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3282, allocations: 216.6 kB / 0.5264 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3282, allocations: 16.97 kB / 0.5264 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3283, allocations: 27.88 kB / 0.5265 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.3286, allocations: 230.6 kB / 0.5267 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3286, allocations: 0 / 0.5267 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3286, allocations: 6.531 kB / 0.5267 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3287, allocations: 5.812 kB / 0.5267 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.329, allocations: 261.6 kB / 0.5269 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000753/0.3298, allocations: 0.6159 MB / 0.5275 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.33, allocations: 102.8 kB / 0.5276 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3301, allocations: 47.12 kB / 0.5277 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3302, allocations: 6.844 kB / 0.5277 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.3302, allocations: 34.56 kB / 0.5277 GB, free: 34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3302, allocations: 0 / 0.5277 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004389/0.3306, allocations: 187.1 kB / 0.5279 GB, free: 33.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.671e-05/0.3307, allocations: 55.41 kB / 0.528 GB, free: 33.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.3309, allocations: 265.3 kB / 0.5282 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.3309, allocations: 25.7 kB / 0.5282 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.3309, allocations: 171.4 kB / 0.5284 GB, free: 33.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.331, allocations: 37.86 kB / 0.5284 GB, free: 33.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.331, allocations: 2.969 kB / 0.5284 GB, free: 33.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.331, allocations: 336.3 kB / 0.5288 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3312, allocations: 60.73 kB / 0.5288 GB, free: 33.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.3313, allocations: 152.8 kB / 0.529 GB, free: 33.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.3316, allocations: 210.7 kB / 0.5292 GB, free: 32.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3316, allocations: 2.938 kB / 0.5292 GB, free: 32.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003769/0.332, allocations: 243.8 kB / 0.5294 GB, free: 32.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3321, allocations: 11.61 kB / 0.5294 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3321, allocations: 2.75 kB / 0.5294 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3321, allocations: 9.156 kB / 0.5294 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.3324, allocations: 86.03 kB / 0.5295 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004296/0.3329, allocations: 1.217 MB / 0.5307 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.3331, allocations: 46.75 kB / 0.5307 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.3331, allocations: 11.97 kB / 0.5307 GB, free: 31.5 MB / 378.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 (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.0001032/0.3332, allocations: 143.2 kB / 0.5309 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.3332, allocations: 18.5 kB / 0.5309 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.3336, allocations: 180.7 kB / 0.5311 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3337, allocations: 7.094 kB / 0.5311 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.3337, allocations: 4 kB / 0.5311 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3337, allocations: 3.375 kB / 0.5311 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.3342, allocations: 452.9 kB / 0.5315 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3342, allocations: 7.391 kB / 0.5315 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.3344, allocations: 61.33 kB / 0.5316 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3344, allocations: 0 / 0.5316 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3345, allocations: 6.938 kB / 0.5316 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004299/0.3349, allocations: 1.212 MB / 0.5328 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3349, allocations: 0 / 0.5328 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.3352, allocations: 267.5 kB / 0.533 GB, free: 29.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.3353, allocations: 101.7 kB / 0.5331 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.3353, allocations: 0 / 0.5331 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3355, allocations: 13 kB / 0.5331 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.3356, allocations: 12.34 kB / 0.5331 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3356, allocations: 5.75 kB / 0.5332 GB, free: 29.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.3357, allocations: 187.1 kB / 0.5333 GB, free: 29.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3357, allocations: 0 / 0.5333 GB, free: 29.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003209/0.3361, allocations: 64.38 kB / 0.5334 GB, free: 29.27 MB / 378.7 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.0002838/0.3363, allocations: 148.3 kB / 0.5335 GB, free: 29.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005133/0.3369, allocations: 182 kB / 0.5337 GB, free: 29.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3369, allocations: 0 / 0.5337 GB, free: 29.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.3372, allocations: 90.86 kB / 0.5338 GB, free: 29.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3375, allocations: 24.59 kB / 0.5338 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.3382, allocations: 485.3 kB / 0.5343 GB, free: 28.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.3384, allocations: 0.7291 MB / 0.535 GB, free: 28.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.733e-05/0.3385, allocations: 26.34 kB / 0.535 GB, free: 28.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.3386, allocations: 20.31 kB / 0.535 GB, free: 28.06 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3386, allocations: 0 / 0.535 GB, free: 28.06 MB / 378.7 MB Notification: Performance of Templates: time 0.008586/0.3471, allocations: 3.321 MB / 0.5383 GB, free: 27.81 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches