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_roundTube_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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 192.8 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.333/1.333, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007486/0.0007485, allocations: 94.25 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3304/0.3304, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002633/0.0002635, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2933, allocations: 63.09 MB / 0.5214 GB, free: 38.49 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.00243/0.2958, allocations: 2.286 MB / 0.5236 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.2984, allocations: 2.126 MB / 0.5257 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003488/0.2988, allocations: 0 / 0.5257 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.2992, allocations: 103.7 kB / 0.5258 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.2997, allocations: 116.3 kB / 0.5259 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006206/0.3003, allocations: 205.8 kB / 0.5261 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.3006, allocations: 278.7 kB / 0.5264 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.3007, allocations: 28.92 kB / 0.5264 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3008, allocations: 90.73 kB / 0.5265 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.301, allocations: 131.1 kB / 0.5266 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.301, allocations: 5.875 kB / 0.5266 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008486/0.3019, allocations: 0.5831 MB / 0.5272 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.3019, allocations: 46.95 kB / 0.5272 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.302, allocations: 155 kB / 0.5274 GB, free: 34.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.3026, allocations: 0.5402 MB / 0.5279 GB, free: 34.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3026, allocations: 3.141 kB / 0.5279 GB, free: 34.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3026, allocations: 0 / 0.5279 GB, free: 34.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3026, allocations: 0 / 0.5279 GB, free: 34.07 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0005561/0.3032, allocations: 0.5762 MB / 0.5285 GB, free: 33.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3032, allocations: 8.844 kB / 0.5285 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.3033, allocations: 37.94 kB / 0.5285 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.3035, allocations: 255.8 kB / 0.5288 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.3035, allocations: 27.91 kB / 0.5288 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.3035, allocations: 39.66 kB / 0.5288 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.304, allocations: 0.5767 MB / 0.5294 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3041, allocations: 7.188 kB / 0.5294 GB, free: 32.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3041, allocations: 17.91 kB / 0.5294 GB, free: 32.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3041, allocations: 11.62 kB / 0.5294 GB, free: 32.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.3045, allocations: 344.2 kB / 0.5297 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.306, allocations: 4.039 MB / 0.5337 GB, free: 28.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3062, allocations: 103.8 kB / 0.5338 GB, free: 28.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3064, allocations: 41.91 kB / 0.5338 GB, free: 28.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3064, allocations: 0 / 0.5338 GB, free: 28.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.3064, allocations: 41.53 kB / 0.5339 GB, free: 28.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3064, allocations: 3.938 kB / 0.5339 GB, free: 28.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004554/0.3069, allocations: 183.9 kB / 0.5341 GB, free: 28.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.3069, allocations: 51.41 kB / 0.5341 GB, free: 28.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.3072, allocations: 400.5 kB / 0.5345 GB, free: 28.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.3073, allocations: 33.7 kB / 0.5345 GB, free: 28.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3074, allocations: 250.7 kB / 0.5348 GB, free: 28.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.3074, allocations: 28.55 kB / 0.5348 GB, free: 28.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.3074, allocations: 4 kB / 0.5348 GB, free: 28.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.3075, allocations: 353.5 kB / 0.5351 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3077, allocations: 56.55 kB / 0.5352 GB, free: 27.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.3079, allocations: 269.2 kB / 0.5354 GB, free: 27.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.3082, allocations: 364 kB / 0.5358 GB, free: 27.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3082, allocations: 2.812 kB / 0.5358 GB, free: 27.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004933/0.3087, allocations: 362.3 kB / 0.5361 GB, free: 26.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3088, allocations: 8.062 kB / 0.5361 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3088, allocations: 9.328 kB / 0.5361 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3088, allocations: 10.97 kB / 0.5362 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.3092, allocations: 114.5 kB / 0.5363 GB, free: 26.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004176/0.3097, allocations: 1.223 MB / 0.5375 GB, free: 25.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.3099, allocations: 72.66 kB / 0.5375 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.31, allocations: 23.66 kB / 0.5376 GB, free: 25.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.000111/0.3101, allocations: 150.9 kB / 0.5377 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.3101, allocations: 45 kB / 0.5377 GB, free: 25.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004001/0.3105, allocations: 178.4 kB / 0.5379 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3105, allocations: 0 / 0.5379 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3105, allocations: 3 kB / 0.5379 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3106, allocations: 3.188 kB / 0.5379 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.3108, allocations: 264.7 kB / 0.5382 GB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3108, allocations: 6.969 kB / 0.5382 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.3111, allocations: 61.77 kB / 0.5382 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3111, allocations: 0 / 0.5382 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3111, allocations: 3 kB / 0.5382 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003718/0.3115, allocations: 1.207 MB / 0.5394 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3115, allocations: 2.812 kB / 0.5394 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.3118, allocations: 244.1 kB / 0.5396 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.3118, allocations: 105.1 kB / 0.5397 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.3119, allocations: 15.28 kB / 0.5398 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.312, allocations: 6.25 kB / 0.5398 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.3121, allocations: 7.406 kB / 0.5398 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3121, allocations: 4.094 kB / 0.5398 GB, free: 23.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002087/0.3123, allocations: 273.9 kB / 0.54 GB, free: 23.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3123, allocations: 0 / 0.54 GB, free: 23.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000483/0.3128, allocations: 113.3 kB / 0.5401 GB, free: 23.51 MB / 378.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 (7): * Single equations (assignments): 5 * 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.0003392/0.3132, allocations: 190.9 kB / 0.5403 GB, free: 23.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005077/0.3137, allocations: 219.4 kB / 0.5405 GB, free: 23.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3137, allocations: 4 kB / 0.5405 GB, free: 23.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.314, allocations: 79.95 kB / 0.5406 GB, free: 23.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3144, allocations: 36.95 kB / 0.5407 GB, free: 23.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007234/0.3152, allocations: 0.6153 MB / 0.5413 GB, free: 22.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.3153, allocations: 0.766 MB / 0.542 GB, free: 22.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.3155, allocations: 50.47 kB / 0.5421 GB, free: 22.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.3155, allocations: 23.19 kB / 0.5421 GB, free: 22.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3155, allocations: 0 / 0.5421 GB, free: 22.19 MB / 378.7 MB Notification: Performance of Templates: time 0.01136/0.3269, allocations: 6.057 MB / 0.548 GB, free: 21.36 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches