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.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.001841/0.001841, allocations: 78.8 kB / 20.52 MB, free: 1.281 MB / 14.72 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.002452/0.002452, allocations: 167 kB / 23.76 MB, free: 4.473 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.45/1.45, allocations: 158.6 MB / 185.5 MB, free: 6.219 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.2553/0.2553, allocations: 32.37 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] 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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 79.89 kB / 407.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3594, allocations: 61 MB / 468.8 MB, free: 8.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003051/0.3624, allocations: 2.051 MB / 470.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3641, allocations: 1.263 MB / 472.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.3642, allocations: 1.094 kB / 472.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.3645, allocations: 79.17 kB / 472.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.3647, allocations: 67.02 kB / 472.3 MB, free: 6.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.3652, allocations: 214.4 kB / 472.5 MB, free: 6.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.3654, allocations: 149.1 kB / 472.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.3654, allocations: 19.23 kB / 472.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3656, allocations: 54.67 kB / 472.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3657, allocations: 62.48 kB / 472.8 MB, free: 6.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3657, allocations: 4.344 kB / 472.8 MB, free: 6.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.3661, allocations: 202.8 kB / 473 MB, free: 6.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.3662, allocations: 29.31 kB / 473 MB, free: 6.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.3662, allocations: 61.72 kB / 473.1 MB, free: 5.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.3668, allocations: 373.8 kB / 473.4 MB, free: 5.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3668, allocations: 5.438 kB / 473.4 MB, free: 5.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3668, allocations: 0 / 473.4 MB, free: 5.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3668, allocations: 0 / 473.4 MB, free: 5.812 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.0005415/0.3673, allocations: 430.8 kB / 473.8 MB, free: 5.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3674, allocations: 10.23 kB / 473.9 MB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.3674, allocations: 23.86 kB / 473.9 MB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3676, allocations: 152.7 kB / 474 MB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3676, allocations: 18.88 kB / 474 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.3677, allocations: 19.94 kB / 474.1 MB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.3681, allocations: 209.1 kB / 474.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3681, allocations: 0 / 474.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3681, allocations: 6.406 kB / 474.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.3681, allocations: 4.406 kB / 474.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.3685, allocations: 154.4 kB / 474.4 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007539/0.3692, allocations: 476.6 kB / 474.9 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.3694, allocations: 69.95 kB / 475 MB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3695, allocations: 29.78 kB / 475 MB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.3696, allocations: 1.922 kB / 475 MB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.3696, allocations: 32.58 kB / 475 MB, free: 4.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3696, allocations: 0 / 475 MB, free: 4.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000452/0.37, allocations: 126.9 kB / 475.1 MB, free: 4.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.3701, allocations: 52.78 kB / 475.2 MB, free: 4.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3702, allocations: 200.7 kB / 475.4 MB, free: 4.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3702, allocations: 25.7 kB / 475.4 MB, free: 4.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.3703, allocations: 175.9 kB / 475.6 MB, free: 4.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.3703, allocations: 25.2 kB / 475.6 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.3704, allocations: 40.47 kB / 475.7 MB, free: 4.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.539e-05/0.3705, allocations: 328.2 kB / 476 MB, free: 3.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.3706, allocations: 36.55 kB / 476 MB, free: 3.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3707, allocations: 131.7 kB / 476.1 MB, free: 3.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.3711, allocations: 191.7 kB / 476.3 MB, free: 3.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3711, allocations: 1.406 kB / 476.3 MB, free: 3.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003925/0.3714, allocations: 189.2 kB / 476.5 MB, free: 3.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3715, allocations: 6.125 kB / 476.5 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.3715, allocations: 16.83 kB / 476.5 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.572e-05/0.3715, allocations: 8.812 kB / 476.5 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3717, allocations: 27.16 kB / 476.6 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.3717, allocations: 9.516 kB / 476.6 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3718, allocations: 24.58 kB / 476.6 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.3718, allocations: 13.5 kB / 476.6 MB, free: 3.473 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 8.116e-05/0.3719, allocations: 140 kB / 476.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.3719, allocations: 13.31 kB / 476.8 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.3723, allocations: 130 kB / 476.9 MB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3723, allocations: 5.719 kB / 476.9 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3723, allocations: 3.938 kB / 476.9 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3723, allocations: 0.5156 kB / 476.9 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3725, allocations: 163.8 kB / 477.1 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.3725, allocations: 8.219 kB / 477.1 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.3726, allocations: 8.156 kB / 477.1 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3726, allocations: 0 / 477.1 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3726, allocations: 6.969 kB / 477.1 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3726, allocations: 4.594 kB / 477.1 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3726, allocations: 0.8125 kB / 477.1 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.3728, allocations: 207.4 kB / 477.3 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.3729, allocations: 12.31 kB / 477.3 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.3729, allocations: 5.156 kB / 477.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.373, allocations: 5.828 kB / 477.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.373, allocations: 5.203 kB / 477.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.373, allocations: 3.25 kB / 477.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.877e-05/0.3731, allocations: 138.9 kB / 477.5 MB, free: 2.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3731, allocations: 0 / 477.5 MB, free: 2.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.3736, allocations: 84.16 kB / 477.5 MB, free: 2.812 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.0002875/0.3738, allocations: 167.9 kB / 477.7 MB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.3743, allocations: 165 kB / 477.9 MB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3743, allocations: 0 / 477.9 MB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.3745, allocations: 102 kB / 478 MB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3748, allocations: 16.91 kB / 478 MB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.3755, allocations: 361.5 kB / 478.3 MB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.3756, allocations: 120 kB / 478.5 MB, free: 2.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.3756, allocations: 11.25 kB / 478.5 MB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.3756, allocations: 13.03 kB / 478.5 MB, free: 2.195 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3756, allocations: 3.938 kB / 478.5 MB, free: 2.191 MB / 382.1 MB Notification: Performance of Templates: time 0.008322/0.384, allocations: 3.462 MB / 481.9 MB, free: 1.215 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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: 5.3334689940093085]