Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001083/0.001083, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009415/0.0009415, allocations: 165 kB / 24.56 MB, free: 16 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.9994/0.9994, allocations: 177.1 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2506/0.2506, allocations: 32.8 MB / 294.3 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_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.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 376.1 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.977e-05, allocations: 9.547 kB / 376.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002759/0.002789, allocations: 2.165 MB / 378.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.004344, allocations: 1.363 MB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/0.004425, allocations: 0 / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.004755, allocations: 87.41 kB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.004921, allocations: 71.3 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.005478, allocations: 223 kB / 380 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.005639, allocations: 158.8 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.875e-05/0.005698, allocations: 16.58 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.005892, allocations: 75.69 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/0.005978, allocations: 47.83 kB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.005998, allocations: 4 kB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.006292, allocations: 207.7 kB / 380.5 MB, free: 212 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.00635, allocations: 23.8 kB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.006405, allocations: 39.81 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.006824, allocations: 386.5 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.006827, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006828, allocations: 4 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.006834, allocations: 0 / 380.9 MB, free: 15.76 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005039/0.007338, allocations: 0.5151 MB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.007379, allocations: 15.98 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.007437, allocations: 32.8 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.007587, allocations: 159.2 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.007604, allocations: 20.31 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.007626, allocations: 16.38 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.007849, allocations: 148 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.007863, allocations: 3.938 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.007879, allocations: 15.98 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.00789, allocations: 4 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.661e-05/0.007966, allocations: 64.3 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.008564, allocations: 0.5137 MB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.008674, allocations: 43.06 kB / 382.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.00871, allocations: 19.69 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.008742, allocations: 7.938 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.008767, allocations: 37.42 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.008768, allocations: 0 / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001933/0.008961, allocations: 77.61 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.008991, allocations: 51.41 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.009136, allocations: 250.7 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.009147, allocations: 25.7 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.009239, allocations: 230.6 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.009252, allocations: 15.91 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.0093, allocations: 51.31 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.009421, allocations: 0.4962 MB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.331e-05/0.009454, allocations: 19.92 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.276e-05/0.009547, allocations: 147.3 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.00969, allocations: 195.1 kB / 384 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009692, allocations: 0 / 384 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001727/0.009864, allocations: 165.1 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.009877, allocations: 8 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.009898, allocations: 12.44 kB / 384.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.009915, allocations: 8 kB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.891e-05/0.009994, allocations: 23.98 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.01, allocations: 11.94 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.01006, allocations: 28 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.01007, allocations: 8 kB / 384.3 MB, free: 12.02 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 (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 7.719e-05/0.01015, allocations: 164.5 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.01017, allocations: 27.84 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.01033, allocations: 94.77 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.01033, allocations: 7.922 kB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.01033, allocations: 0 / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01034, allocations: 0 / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.01048, allocations: 184.5 kB / 384.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.01049, allocations: 8 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.01051, allocations: 7.984 kB / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01051, allocations: 3.938 kB / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.01052, allocations: 8 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01052, allocations: 0 / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01052, allocations: 0 / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.01065, allocations: 215.8 kB / 385 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.01066, allocations: 11.89 kB / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.01067, allocations: 8 kB / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/0.01071, allocations: 0 / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.01075, allocations: 7.984 kB / 385 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.01075, allocations: 4 kB / 385 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.863e-05/0.01082, allocations: 171.2 kB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01082, allocations: 0 / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.01106, allocations: 87.66 kB / 385.3 MB, free: 10.96 MB / 362.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 (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.0002313/0.01129, allocations: 167 kB / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.01154, allocations: 153.8 kB / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01154, allocations: 0.875 kB / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.01162, allocations: 91.72 kB / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.01182, allocations: 16 kB / 385.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.01255, allocations: 361.4 kB / 386.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.451e-05/0.0126, allocations: 71.83 kB / 386.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.735e-05/0.01263, allocations: 4.984 kB / 386.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.01265, allocations: 16.5 kB / 386.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01265, allocations: 0 / 386.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of Templates: time 0.005765/0.01842, allocations: 3.534 MB / 389.7 MB, free: 6.535 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.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.3106307480484247]