Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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.00189/0.00189, allocations: 83.23 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002327/0.002327, allocations: 157.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.508/1.508, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.2229/0.2229, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.475e-05, allocations: 4.672 kB / 442.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003089/0.003113, allocations: 1.775 MB / 444.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004477, allocations: 0.7594 MB / 445.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.004531, allocations: 3.938 kB / 445.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.004774, allocations: 47.75 kB / 445.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.005049, allocations: 75.47 kB / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.005318, allocations: 78.59 kB / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.005532, allocations: 151.3 kB / 445.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.005574, allocations: 9.297 kB / 445.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.005798, allocations: 83.67 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.005936, allocations: 67.78 kB / 445.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.005959, allocations: 8 kB / 445.7 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.006128, allocations: 67.83 kB / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.006199, allocations: 43.83 kB / 445.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.006263, allocations: 35.86 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.006557, allocations: 179.4 kB / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006559, allocations: 0 / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00656, allocations: 0 / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.006565, allocations: 0 / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007233/0.007288, allocations: 369.6 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.007328, allocations: 8.031 kB / 446.4 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.00738, allocations: 20.83 kB / 446.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.00759, allocations: 153.5 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.007607, allocations: 8.375 kB / 446.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.007635, allocations: 12.36 kB / 446.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.008014, allocations: 174.9 kB / 446.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.008027, allocations: 3.938 kB / 446.8 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.008044, allocations: 4 kB / 446.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.008077, allocations: 19.91 kB / 446.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.008464, allocations: 167.8 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007468/0.009211, allocations: 396.1 kB / 447.4 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.009586, allocations: 142.4 kB / 447.5 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.009754, allocations: 56.84 kB / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.009783, allocations: 3.938 kB / 447.6 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.009812, allocations: 38.5 kB / 447.6 MB, free: 220 kB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.009813, allocations: 0 / 447.6 MB, free: 220 kB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.00062/0.01043, allocations: 193.4 kB / 447.8 MB, free: 20 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2147/0.2252, allocations: 55.41 kB / 447.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.2254, allocations: 136.4 kB / 448 MB, free: 19.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.2254, allocations: 32.17 kB / 448 MB, free: 19.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.2255, allocations: 119.5 kB / 448.1 MB, free: 19.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.2255, allocations: 32.92 kB / 448.2 MB, free: 19.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.2256, allocations: 29.33 kB / 448.2 MB, free: 19.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.2257, allocations: 319.9 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.2259, allocations: 50.89 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.226, allocations: 76.75 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.2263, allocations: 122.8 kB / 448.7 MB, free: 18.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2263, allocations: 3.469 kB / 448.7 MB, free: 18.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004088/0.2268, allocations: 163.3 kB / 448.9 MB, free: 18.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2268, allocations: 5.469 kB / 448.9 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2268, allocations: 2.969 kB / 448.9 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2268, allocations: 4.875 kB / 448.9 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.2271, allocations: 52.33 kB / 449 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005109/0.2277, allocations: 1.218 MB / 450.2 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2278, allocations: 14.12 kB / 450.2 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.2278, allocations: 6.438 kB / 450.2 MB, free: 17.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * 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 0.0001732/0.228, allocations: 134.8 kB / 450.3 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.228, allocations: 14.39 kB / 450.4 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/0.2284, allocations: 180.7 kB / 450.5 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2285, allocations: 1.219 kB / 450.5 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2285, allocations: 0 / 450.5 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2285, allocations: 5.859 kB / 450.5 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.2287, allocations: 164.5 kB / 450.7 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2287, allocations: 0.75 kB / 450.7 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.2289, allocations: 48.89 kB / 450.7 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2289, allocations: 0 / 450.7 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2289, allocations: 7.047 kB / 450.8 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004428/0.2294, allocations: 1.219 MB / 452 MB, free: 16.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2294, allocations: 2.125 kB / 452 MB, free: 16.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.2297, allocations: 249.7 kB / 452.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.2298, allocations: 10.39 kB / 452.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.2298, allocations: 1.062 kB / 452.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.2299, allocations: 11.05 kB / 452.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.23, allocations: 6.625 kB / 452.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.23, allocations: 3.219 kB / 452.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.923e-05/0.23, allocations: 112.5 kB / 452.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.23, allocations: 0 / 452.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.2304, allocations: 51.81 kB / 452.4 MB, free: 15.85 MB / 366.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 (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.0002279/0.2306, allocations: 131.3 kB / 452.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005333/0.2311, allocations: 150.1 kB / 452.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2311, allocations: 1.125 kB / 452.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.2314, allocations: 88.64 kB / 452.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.2317, allocations: 21.09 kB / 452.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/0.2324, allocations: 332.5 kB / 453.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.2325, allocations: 117 kB / 453.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.352e-05/0.2326, allocations: 26 kB / 453.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.2326, allocations: 15.05 kB / 453.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2326, allocations: 0 / 453.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Templates: time 0.006998/0.2396, allocations: 2.297 MB / 455.6 MB, free: 15.25 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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.158953487873077]