Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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.0009509/0.0009509, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009821/0.0009821, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9333/0.9333, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2487/0.2487, allocations: 34.26 MB / 295.7 MB, free: 0.7422 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_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=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.588e-05, allocations: 5.547 kB / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003258/0.003284, allocations: 2.234 MB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.004386, allocations: 1.067 MB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.445e-05/0.00448, allocations: 0 / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.004759, allocations: 87.41 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.005007, allocations: 95.19 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.005256, allocations: 119.5 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.005407, allocations: 182.8 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.005446, allocations: 16.58 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.00561, allocations: 107.5 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.005698, allocations: 59.75 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.005714, allocations: 8 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.005904, allocations: 135.8 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.005952, allocations: 27.78 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.006003, allocations: 55.78 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.006269, allocations: 282.7 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006271, allocations: 0 / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006271, allocations: 0 / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.006276, allocations: 4 kB / 382.5 MB, free: 14.11 MB / 362.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.0004198/0.006696, allocations: 0.5234 MB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.006729, allocations: 12.02 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.006787, allocations: 48.75 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.006932, allocations: 156.2 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.006946, allocations: 12.88 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.006965, allocations: 20.38 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.007177, allocations: 169.3 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.007186, allocations: 3.938 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.007202, allocations: 15.98 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.00721, allocations: 8 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.007336, allocations: 103 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.007995, allocations: 0.5466 MB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.008166, allocations: 71.05 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.008209, allocations: 27.69 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.008227, allocations: 0 / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.008249, allocations: 49.36 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 8.41e-07/0.00825, allocations: 0 / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002214/0.008471, allocations: 93.53 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.008501, allocations: 59.41 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.008646, allocations: 274.5 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.008659, allocations: 29.7 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.008741, allocations: 218.7 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.008761, allocations: 39.69 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.008819, allocations: 51.36 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.008926, allocations: 0.504 MB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.008974, allocations: 19.98 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.009074, allocations: 167.2 kB / 385.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.00923, allocations: 203.1 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009232, allocations: 4 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002072/0.009439, allocations: 201.1 kB / 386.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.009454, allocations: 9.719 kB / 386.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.00946, allocations: 448 / 386.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.009474, allocations: 8 kB / 386.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.009709, allocations: 87.89 kB / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000617/0.01033, allocations: 1.829 MB / 388.1 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.692e-05/0.01041, allocations: 27.78 kB / 388.1 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.01043, allocations: 12 kB / 388.1 MB, free: 8.152 MB / 362.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 9.162e-05/0.01052, allocations: 168.5 kB / 388.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.01055, allocations: 15.91 kB / 388.3 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.01072, allocations: 131.4 kB / 388.4 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01073, allocations: 0 / 388.4 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01073, allocations: 4 kB / 388.4 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01073, allocations: 0 / 388.4 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.01104, allocations: 412.6 kB / 388.8 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01104, allocations: 12 kB / 388.8 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.01119, allocations: 55.97 kB / 388.9 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01119, allocations: 0 / 388.9 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.0112, allocations: 8 kB / 388.9 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005724/0.01177, allocations: 1.822 MB / 390.7 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01177, allocations: 0 / 390.7 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.01193, allocations: 263.2 kB / 391 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.01194, allocations: 12.03 kB / 391 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.01196, allocations: 7.938 kB / 391 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.01202, allocations: 4 kB / 391 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.01206, allocations: 15.92 kB / 391 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.01207, allocations: 4 kB / 391 MB, free: 5.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.669e-05/0.01213, allocations: 172.1 kB / 391.2 MB, free: 4.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01213, allocations: 4 kB / 391.2 MB, free: 4.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.01237, allocations: 75.75 kB / 391.3 MB, free: 4.848 MB / 362.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.0001909/0.01256, allocations: 151.2 kB / 391.4 MB, free: 4.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.01284, allocations: 144.9 kB / 391.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01284, allocations: 4.062 kB / 391.5 MB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.01295, allocations: 75.59 kB / 391.6 MB, free: 4.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01316, allocations: 22.22 kB / 391.6 MB, free: 4.445 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008597/0.01402, allocations: 390.2 kB / 392 MB, free: 4.023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.01406, allocations: 83.81 kB / 392.1 MB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.904e-05/0.0141, allocations: 5.688 kB / 392.1 MB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.01413, allocations: 24.48 kB / 392.1 MB, free: 3.895 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01414, allocations: 0 / 392.1 MB, free: 3.895 MB / 362.7 MB Notification: Performance of Templates: time 0.005841/0.01998, allocations: 3.747 MB / 395.9 MB, free: 220 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.126211889088154]