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_roundTube_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.001441/0.001441, 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.001747/0.001747, 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.9711/0.9711, allocations: 177.2 MB / 205 MB, free: 5.594 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.2463/0.2463, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_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=5003,variableFilter="time|Nu|m_flow.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.414e-05, allocations: 2.312 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002913/0.002927, allocations: 2.706 MB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.00466, allocations: 1.441 MB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.004761, allocations: 0 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.005059, allocations: 111.2 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.00535, allocations: 150.6 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.005833, allocations: 278.9 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.006053, allocations: 285.8 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.006098, allocations: 20.92 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.006219, allocations: 135.5 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.006339, allocations: 95.59 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.006357, allocations: 4 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005485/0.006906, allocations: 455.3 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.006973, allocations: 43.64 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.007051, allocations: 75.67 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.007534, allocations: 0.5331 MB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007537, allocations: 4 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007538, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.007542, allocations: 0 / 384.4 MB, free: 12.23 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006692/0.008211, allocations: 0.6596 MB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.008249, allocations: 8.031 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.008329, allocations: 68.66 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.00851, allocations: 196 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.008537, allocations: 33.38 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.008565, allocations: 36.31 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.009036, allocations: 0.6286 MB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.009049, allocations: 11.88 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.009071, allocations: 20 kB / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.009085, allocations: 12 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.009271, allocations: 194.4 kB / 386.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.01128, allocations: 5.752 MB / 392 MB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.0114, allocations: 70.97 kB / 392.1 MB, free: 4.066 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.01143, allocations: 23.75 kB / 392.1 MB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.01145, allocations: 7.984 kB / 392.1 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.01147, allocations: 41.33 kB / 392.1 MB, free: 3.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.01148, allocations: 0 / 392.1 MB, free: 3.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002348/0.01171, allocations: 97.53 kB / 392.2 MB, free: 3.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.01175, allocations: 51.41 kB / 392.3 MB, free: 3.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.01193, allocations: 365.9 kB / 392.6 MB, free: 3.441 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.01195, allocations: 25.7 kB / 392.7 MB, free: 3.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.01207, allocations: 318.4 kB / 393 MB, free: 3.094 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.01209, allocations: 35.78 kB / 393 MB, free: 3.059 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.01215, allocations: 83.58 kB / 393.1 MB, free: 2.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01227, allocations: 0.5118 MB / 393.6 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.01232, allocations: 28.64 kB / 393.6 MB, free: 2.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.01249, allocations: 331.7 kB / 394 MB, free: 1.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.01273, allocations: 397.5 kB / 394.4 MB, free: 1.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.01273, allocations: 0 / 394.4 MB, free: 1.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002889/0.01302, allocations: 309.3 kB / 394.7 MB, free: 1.113 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.01303, allocations: 8 kB / 394.7 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.01304, allocations: 8 kB / 394.7 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.01306, allocations: 12 kB / 394.7 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.01334, allocations: 107.9 kB / 394.8 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005814/0.01392, allocations: 1.826 MB / 396.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.01404, allocations: 47.73 kB / 396.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01405, allocations: 24 kB / 396.7 MB, free: 15.03 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 9.472e-05/0.01415, allocations: 180.4 kB / 396.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.01418, allocations: 31.81 kB / 396.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.01435, allocations: 115.5 kB / 397 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01436, allocations: 7.938 kB / 397 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01436, allocations: 3.984 kB / 397 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.01436, allocations: 0 / 397 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.01454, allocations: 240.5 kB / 397.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01454, allocations: 0 / 397.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.01467, allocations: 51.92 kB / 397.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01467, allocations: 0 / 397.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.01468, allocations: 4 kB / 397.3 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005137/0.01519, allocations: 1.818 MB / 399.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01519, allocations: 3.938 kB / 399.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.01535, allocations: 243.7 kB / 399.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.01537, allocations: 23.75 kB / 399.4 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.01539, allocations: 0 / 399.4 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.01544, allocations: 8 kB / 399.4 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.01548, allocations: 7.984 kB / 399.4 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.01549, allocations: 4 kB / 399.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.516e-05/0.01558, allocations: 219.1 kB / 399.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01558, allocations: 0 / 399.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003219/0.01591, allocations: 131.6 kB / 399.7 MB, free: 11.83 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.0002622/0.01617, allocations: 194.9 kB / 399.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.01645, allocations: 173.1 kB / 400.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01645, allocations: 0 / 400.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.01655, allocations: 72.09 kB / 400.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.01675, allocations: 16.66 kB / 400.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.0175, allocations: 0.4902 MB / 400.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.377e-05/0.01754, allocations: 84.31 kB / 400.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.375e-05/0.0176, allocations: 21.94 kB / 400.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.01763, allocations: 20.5 kB / 400.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01763, allocations: 0 / 400.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of Templates: time 0.008826/0.02646, allocations: 6.456 MB / 407.3 MB, free: 4.316 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_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.276263006031513]