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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009154/0.0009155, allocations: 201 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.214/1.214, allocations: 226.6 MB / 243.1 MB, free: 12.37 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008884/0.0008884, allocations: 105.9 kB / 295.1 MB, free: 4.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.173/0.173, allocations: 44.84 MB / 392 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002398/0.0002399, allocations: 4 kB / 464.8 MB, free: 68.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07943/0.07968, allocations: 62.96 MB / 0.5153 GB, free: 5.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.001515/0.08124, allocations: 1.577 MB / 0.5169 GB, free: 3.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.08249, allocations: 1.045 MB / 0.5179 GB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.67e-05/0.0826, allocations: 0 / 0.5179 GB, free: 2.445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.08281, allocations: 43.75 kB / 0.5179 GB, free: 2.402 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.08296, allocations: 59.66 kB / 0.518 GB, free: 2.344 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.08337, allocations: 147.5 kB / 0.5181 GB, free: 2.199 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.08361, allocations: 266.9 kB / 0.5184 GB, free: 1.938 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.08367, allocations: 17.67 kB / 0.5184 GB, free: 1.922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.08386, allocations: 87.62 kB / 0.5185 GB, free: 1.836 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.084, allocations: 103.6 kB / 0.5186 GB, free: 1.734 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.08403, allocations: 11.94 kB / 0.5186 GB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.08434, allocations: 235.7 kB / 0.5188 GB, free: 1.492 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.0844, allocations: 55.75 kB / 0.5189 GB, free: 1.438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.08445, allocations: 61.56 kB / 0.5189 GB, free: 1.371 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.08467, allocations: 207.7 kB / 0.5191 GB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.08468, allocations: 0 / 0.5191 GB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08469, allocations: 0 / 0.5191 GB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.0847, allocations: 0 / 0.5191 GB, free: 1.168 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007583/0.08546, allocations: 0.5336 MB / 0.5197 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.0855, allocations: 12.03 kB / 0.5197 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.08585, allocations: 63.69 kB / 0.5197 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.08604, allocations: 231.1 kB / 0.52 GB, free: 252 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.08606, allocations: 12 kB / 0.52 GB, free: 240 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.08609, allocations: 12 kB / 0.52 GB, free: 228 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.08658, allocations: 300.4 kB / 0.5203 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.0866, allocations: 0 / 0.5203 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.08663, allocations: 8 kB / 0.5203 GB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.08666, allocations: 19.73 kB / 0.5203 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.08723, allocations: 239.8 kB / 0.5205 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009796/0.08822, allocations: 0.7695 MB / 0.5213 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.08877, allocations: 243.7 kB / 0.5215 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.08904, allocations: 110.5 kB / 0.5216 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.08908, allocations: 4 kB / 0.5216 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.08912, allocations: 46.55 kB / 0.5217 GB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.08913, allocations: 0 / 0.5217 GB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009203/0.09005, allocations: 345.3 kB / 0.522 GB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.09012, allocations: 110.9 kB / 0.5221 GB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.09038, allocations: 278.5 kB / 0.5224 GB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.09041, allocations: 25.7 kB / 0.5224 GB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.0905, allocations: 140 kB / 0.5225 GB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.09055, allocations: 55.2 kB / 0.5226 GB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.09056, allocations: 0 / 0.5226 GB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.09068, allocations: 338.9 kB / 0.5229 GB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.09095, allocations: 95.86 kB / 0.523 GB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.09122, allocations: 137.1 kB / 0.5231 GB, free: 12.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.09151, allocations: 108 kB / 0.5232 GB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.09152, allocations: 3.938 kB / 0.5232 GB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006456/0.09217, allocations: 289.2 kB / 0.5235 GB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.0922, allocations: 7.953 kB / 0.5235 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.09223, allocations: 11.94 kB / 0.5235 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.09224, allocations: 7.984 kB / 0.5235 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.09246, allocations: 39.97 kB / 0.5236 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.09247, allocations: 4 kB / 0.5236 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.09267, allocations: 35.86 kB / 0.5236 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.0927, allocations: 11.98 kB / 0.5236 GB, free: 12.29 MB / 362.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[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.09284, allocations: 157.7 kB / 0.5238 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.09292, allocations: 23.72 kB / 0.5238 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.09339, allocations: 235.2 kB / 0.524 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.09341, allocations: 4 kB / 0.524 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.09342, allocations: 0 / 0.524 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.09343, allocations: 4 kB / 0.524 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.09379, allocations: 265.4 kB / 0.5243 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.09381, allocations: 8 kB / 0.5243 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.094, allocations: 39.91 kB / 0.5243 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.09401, allocations: 4 kB / 0.5243 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.09403, allocations: 7.984 kB / 0.5243 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.09404, allocations: 11.95 kB / 0.5243 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.09405, allocations: 0 / 0.5243 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.09466, allocations: 0.4938 MB / 0.5248 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.09473, allocations: 104.8 kB / 0.5249 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.09477, allocations: 8 kB / 0.5249 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.09502, allocations: 23.97 kB / 0.525 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.09509, allocations: 15.94 kB / 0.525 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.09511, allocations: 12 kB / 0.525 GB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.09528, allocations: 197.9 kB / 0.5252 GB, free: 10.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09529, allocations: 3.938 kB / 0.5252 GB, free: 10.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.09567, allocations: 75.98 kB / 0.5252 GB, free: 10.52 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002438/0.09592, allocations: 163.2 kB / 0.5254 GB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006091/0.09654, allocations: 304.8 kB / 0.5257 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.09655, allocations: 0 / 0.5257 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.09686, allocations: 197.3 kB / 0.5259 GB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.09732, allocations: 37.97 kB / 0.5259 GB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007557/0.09808, allocations: 0.5523 MB / 0.5265 GB, free: 9.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.09836, allocations: 0.7557 MB / 0.5272 GB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.09843, allocations: 23.42 kB / 0.5272 GB, free: 8.398 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.09843, allocations: 0 / 0.5272 GB, free: 8.398 MB / 362.7 MB Notification: Performance of Templates: time 0.005445/0.1039, allocations: 3.857 MB / 0.531 GB, free: 4.57 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches