Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_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=5000,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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 200 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007306/0.0007306, allocations: 98.83 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1749/0.1749, allocations: 44.84 MB / 392 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002095/0.0002096, allocations: 8 kB / 464.8 MB, free: 49.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08372, allocations: 62.95 MB / 0.5153 GB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.001785/0.08554, allocations: 1.479 MB / 0.5168 GB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.08663, allocations: 0.7679 MB / 0.5175 GB, free: 484 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.08671, allocations: 0 / 0.5175 GB, free: 484 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.08691, allocations: 35.83 kB / 0.5176 GB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.08714, allocations: 63.72 kB / 0.5176 GB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.08735, allocations: 67.8 kB / 0.5177 GB, free: 316 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.08755, allocations: 195.3 kB / 0.5179 GB, free: 120 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.08761, allocations: 13.11 kB / 0.5179 GB, free: 108 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.08776, allocations: 59.77 kB / 0.5179 GB, free: 48 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1602/0.248, allocations: 72.31 kB / 0.518 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.248, allocations: 3.625 kB / 0.518 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.2484, allocations: 158.1 kB / 0.5182 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.2484, allocations: 39.56 kB / 0.5182 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.2485, allocations: 42.7 kB / 0.5183 GB, free: 9.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.2487, allocations: 122.8 kB / 0.5184 GB, free: 9.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2487, allocations: 1.406 kB / 0.5184 GB, free: 9.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2487, allocations: 3.375 kB / 0.5184 GB, free: 9.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2487, allocations: 0 / 0.5184 GB, free: 9.836 MB / 346.7 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.0005457/0.2493, allocations: 428.5 kB / 0.5188 GB, free: 9.445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.2493, allocations: 9.25 kB / 0.5188 GB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.2494, allocations: 15.47 kB / 0.5188 GB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.2495, allocations: 211.8 kB / 0.519 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2495, allocations: 8.344 kB / 0.519 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.2496, allocations: 10.22 kB / 0.519 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.2499, allocations: 174.7 kB / 0.5192 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2499, allocations: 4.578 kB / 0.5192 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.25, allocations: 8.156 kB / 0.5192 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.25, allocations: 12.73 kB / 0.5192 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.2504, allocations: 172.7 kB / 0.5194 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.251, allocations: 0.489 MB / 0.5199 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.2514, allocations: 164.2 kB / 0.52 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.2516, allocations: 59.92 kB / 0.5201 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.2516, allocations: 2.234 kB / 0.5201 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.2516, allocations: 34.38 kB / 0.5201 GB, free: 8.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2516, allocations: 0 / 0.5201 GB, free: 8.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005268/0.2522, allocations: 213.2 kB / 0.5203 GB, free: 8.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.885e-05/0.2522, allocations: 52.83 kB / 0.5204 GB, free: 8.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.2524, allocations: 199.6 kB / 0.5205 GB, free: 8.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.2524, allocations: 36.84 kB / 0.5206 GB, free: 8.578 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.2524, allocations: 116.9 kB / 0.5207 GB, free: 8.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.2525, allocations: 33.39 kB / 0.5207 GB, free: 8.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-06/0.2525, allocations: 1.094 kB / 0.5207 GB, free: 8.469 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.2525, allocations: 331.2 kB / 0.521 GB, free: 8.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2527, allocations: 50.14 kB / 0.5211 GB, free: 8.152 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.2528, allocations: 81.23 kB / 0.5212 GB, free: 8.125 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.253, allocations: 61.16 kB / 0.5212 GB, free: 8.125 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.253, allocations: 3.938 kB / 0.5212 GB, free: 8.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003353/0.2533, allocations: 179.3 kB / 0.5214 GB, free: 8.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2533, allocations: 6.406 kB / 0.5214 GB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2534, allocations: 0.5625 kB / 0.5214 GB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2534, allocations: 1.406 kB / 0.5214 GB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.2536, allocations: 51.92 kB / 0.5215 GB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003893/0.254, allocations: 1.223 MB / 0.5227 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2542, allocations: 22 kB / 0.5227 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2542, allocations: 7.5 kB / 0.5227 GB, free: 6.891 MB / 346.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.2543, allocations: 136.4 kB / 0.5228 GB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.2543, allocations: 16.08 kB / 0.5228 GB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.2547, allocations: 197.8 kB / 0.523 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2548, allocations: 1.594 kB / 0.523 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2548, allocations: 0.9062 kB / 0.523 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2548, allocations: 0.5625 kB / 0.523 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.255, allocations: 223.1 kB / 0.5232 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.255, allocations: 1.297 kB / 0.5232 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.2552, allocations: 52.45 kB / 0.5233 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2552, allocations: 0.9688 kB / 0.5233 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2552, allocations: 3.922 kB / 0.5233 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003444/0.2556, allocations: 1.222 MB / 0.5245 GB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2556, allocations: 0 / 0.5245 GB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.2559, allocations: 267.6 kB / 0.5247 GB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.256, allocations: 86.47 kB / 0.5248 GB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.256, allocations: 1.766 kB / 0.5248 GB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.2561, allocations: 15.17 kB / 0.5248 GB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.2562, allocations: 14.39 kB / 0.5249 GB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.2562, allocations: 3 kB / 0.5249 GB, free: 5.109 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.62e-05/0.2563, allocations: 151.2 kB / 0.525 GB, free: 5.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2563, allocations: 0 / 0.525 GB, free: 5.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.2565, allocations: 43.39 kB / 0.525 GB, free: 5.027 MB / 346.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001694/0.2567, allocations: 139.8 kB / 0.5252 GB, free: 4.926 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.2572, allocations: 155.2 kB / 0.5253 GB, free: 4.922 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2572, allocations: 4 kB / 0.5253 GB, free: 4.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.2575, allocations: 93.3 kB / 0.5254 GB, free: 4.918 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.2578, allocations: 33.56 kB / 0.5254 GB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.2583, allocations: 422.3 kB / 0.5258 GB, free: 4.688 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.2585, allocations: 0.7239 MB / 0.5266 GB, free: 3.992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.2585, allocations: 23.55 kB / 0.5266 GB, free: 3.98 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2585, allocations: 0 / 0.5266 GB, free: 3.98 MB / 346.7 MB Notification: Performance of Templates: time 0.005216/0.2638, allocations: 3.505 MB / 0.53 GB, free: 3.77 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches