Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 164.4 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9246/0.9246, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.244/0.244, allocations: 34.86 MB / 296.6 MB, free: 492 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_2.[0-9,]+.|Nu_2.[0-9,]+.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_2.[0-9,]+.|Nu_2.[0-9,]+.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.611e-05, allocations: 5.406 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003552/0.003578, allocations: 1.968 MB / 327.9 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.005933, allocations: 1.138 MB / 329 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.006075, allocations: 0 / 329 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.006296, allocations: 47.69 kB / 329.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.006475, allocations: 71.53 kB / 329.2 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.007021, allocations: 191.1 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.007255, allocations: 242.8 kB / 329.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.007297, allocations: 14.45 kB / 329.6 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.007475, allocations: 119.6 kB / 329.7 MB, free: 3.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.007585, allocations: 83.72 kB / 329.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.007605, allocations: 8 kB / 329.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.007812, allocations: 139.7 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.007875, allocations: 71.73 kB / 330 MB, free: 3.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/0.007939, allocations: 56.55 kB / 330.1 MB, free: 3.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.008254, allocations: 290.9 kB / 330.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.008256, allocations: 0 / 330.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008257, allocations: 0 / 330.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.008261, allocations: 0 / 330.3 MB, free: 2.742 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004672/0.008728, allocations: 452.8 kB / 330.8 MB, free: 2.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.008755, allocations: 8.031 kB / 330.8 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.008936, allocations: 60.88 kB / 330.9 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.009085, allocations: 162.2 kB / 331 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.009096, allocations: 12.38 kB / 331 MB, free: 2.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.009114, allocations: 16.38 kB / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.009319, allocations: 188.5 kB / 331.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.009327, allocations: 7.875 kB / 331.2 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.009339, allocations: 4 kB / 331.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.009357, allocations: 8 kB / 331.2 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.281e-05/0.00945, allocations: 70.8 kB / 331.3 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.009928, allocations: 0.5172 MB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.01012, allocations: 168.1 kB / 332 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.01015, allocations: 26.69 kB / 332 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.01018, allocations: 15.92 kB / 332 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.01019, allocations: 30.56 kB / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.0102, allocations: 0 / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001847/0.01038, allocations: 98.38 kB / 332.2 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.01042, allocations: 106.8 kB / 332.3 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/0.01051, allocations: 183 kB / 332.4 MB, free: 460 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.01053, allocations: 25.7 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.01058, allocations: 143.9 kB / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.0106, allocations: 51.52 kB / 332.7 MB, free: 228 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.01065, allocations: 37.69 kB / 332.7 MB, free: 184 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.01073, allocations: 330.7 kB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.01076, allocations: 14.81 kB / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.01082, allocations: 53.12 kB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.01092, allocations: 92.39 kB / 333.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01092, allocations: 0 / 333.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001251/0.01104, allocations: 112.2 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.01106, allocations: 5.875 kB / 333.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.01107, allocations: 8 kB / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.01108, allocations: 4.156 kB / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.01115, allocations: 23.98 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.01116, allocations: 3.984 kB / 333.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.052e-05/0.01122, allocations: 23.89 kB / 333.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.01123, allocations: 3.938 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.889e-05/0.01132, allocations: 132.6 kB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.01136, allocations: 15.98 kB / 333.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.0115, allocations: 97.44 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.0115, allocations: 4 kB / 333.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.0115, allocations: 4 kB / 333.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01151, allocations: 0 / 333.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.0117, allocations: 133.6 kB / 333.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.01171, allocations: 8 kB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/0.01176, allocations: 19.97 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01176, allocations: 4 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.01177, allocations: 0 / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.01177, allocations: 7.938 kB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01177, allocations: 0 / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.01196, allocations: 384.8 kB / 334.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.01198, allocations: 19.91 kB / 334.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.012, allocations: 4 kB / 334.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.01209, allocations: 15.98 kB / 334.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.01213, allocations: 11.98 kB / 334.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.01213, allocations: 3.984 kB / 334.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.933e-05/0.01217, allocations: 57.8 kB / 334.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01217, allocations: 0 / 334.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.01242, allocations: 83.7 kB / 334.3 MB, free: 14.43 MB / 314.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001908/0.01261, allocations: 145.5 kB / 334.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.01276, allocations: 150 kB / 334.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01277, allocations: 4.062 kB / 334.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.042e-05/0.01284, allocations: 115.9 kB / 334.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.01309, allocations: 36.7 kB / 334.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.01374, allocations: 423.7 kB / 335.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.68e-05/0.0138, allocations: 91.25 kB / 335.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.148e-05/0.01384, allocations: 20.58 kB / 335.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.01395, allocations: 87.36 kB / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01395, allocations: 0 / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of Templates: time 0.00478/0.01873, allocations: 3.621 MB / 339 MB, free: 9.734 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.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: 2.896983108948916]