Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009492/0.0009492, allocations: 198.2 kB / 15.79 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007501/0.0007501, allocations: 92.94 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.183/0.183, allocations: 44.84 MB / 392 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002728, allocations: 4 kB / 464.8 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08967/0.08996, allocations: 62.95 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.001902/0.0919, allocations: 1.682 MB / 0.517 GB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.09329, allocations: 1.033 MB / 0.518 GB, free: 24 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.828e-05/0.09337, allocations: 4 kB / 0.518 GB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1621/0.2555, allocations: 40.91 kB / 0.518 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.2558, allocations: 67.8 kB / 0.5181 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.2563, allocations: 134.8 kB / 0.5182 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.2567, allocations: 364 kB / 0.5186 GB, free: 9.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.338e-05/0.2568, allocations: 34.69 kB / 0.5186 GB, free: 9.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.257, allocations: 114.2 kB / 0.5187 GB, free: 9.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.2572, allocations: 142.7 kB / 0.5189 GB, free: 9.723 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.2572, allocations: 7.031 kB / 0.5189 GB, free: 9.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.2576, allocations: 195.9 kB / 0.519 GB, free: 9.715 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.2577, allocations: 70.84 kB / 0.5191 GB, free: 9.699 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.2577, allocations: 70.83 kB / 0.5192 GB, free: 9.656 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.2581, allocations: 271.8 kB / 0.5194 GB, free: 9.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2581, allocations: 1.125 kB / 0.5194 GB, free: 9.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2581, allocations: 4 kB / 0.5194 GB, free: 9.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2581, allocations: 0 / 0.5194 GB, free: 9.617 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008305/0.2589, allocations: 0.5857 MB / 0.52 GB, free: 9.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.259, allocations: 9.641 kB / 0.52 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003574/0.2593, allocations: 78.41 kB / 0.5201 GB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.2596, allocations: 252.7 kB / 0.5203 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.2596, allocations: 27.22 kB / 0.5204 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.2596, allocations: 26.48 kB / 0.5204 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.2603, allocations: 445 kB / 0.5208 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2603, allocations: 0 / 0.5208 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.2604, allocations: 11.19 kB / 0.5208 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.2604, allocations: 19.91 kB / 0.5209 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006785/0.2611, allocations: 344.4 kB / 0.5212 GB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.2623, allocations: 1.093 MB / 0.5222 GB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.2628, allocations: 253.8 kB / 0.5225 GB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.263, allocations: 124.8 kB / 0.5226 GB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.2631, allocations: 10.48 kB / 0.5226 GB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.2631, allocations: 43.5 kB / 0.5227 GB, free: 8.078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.2631, allocations: 0 / 0.5227 GB, free: 8.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009921/0.2641, allocations: 396 kB / 0.523 GB, free: 8.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.2642, allocations: 105 kB / 0.5231 GB, free: 7.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.2646, allocations: 399.6 kB / 0.5235 GB, free: 7.777 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2646, allocations: 27.81 kB / 0.5235 GB, free: 7.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.2647, allocations: 191.6 kB / 0.5237 GB, free: 7.629 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.2647, allocations: 52.22 kB / 0.5238 GB, free: 7.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.2647, allocations: 6.156 kB / 0.5238 GB, free: 7.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.2648, allocations: 344.2 kB / 0.5241 GB, free: 7.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.2651, allocations: 130.6 kB / 0.5242 GB, free: 7.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.2655, allocations: 251.2 kB / 0.5245 GB, free: 7.121 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.2658, allocations: 165.4 kB / 0.5246 GB, free: 7.109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2658, allocations: 5.031 kB / 0.5246 GB, free: 7.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008064/0.2666, allocations: 422.7 kB / 0.525 GB, free: 7.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2666, allocations: 10.41 kB / 0.5251 GB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-05/0.2667, allocations: 22.92 kB / 0.5251 GB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2667, allocations: 7.094 kB / 0.5251 GB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.267, allocations: 55.55 kB / 0.5251 GB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.267, allocations: 5.531 kB / 0.5251 GB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.2672, allocations: 65.06 kB / 0.5252 GB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.2673, allocations: 17.22 kB / 0.5252 GB, free: 6.996 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001567/0.2674, allocations: 186.1 kB / 0.5254 GB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/0.2675, allocations: 33.34 kB / 0.5254 GB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.2681, allocations: 286.8 kB / 0.5257 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.2681, allocations: 3.609 kB / 0.5257 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2681, allocations: 1.094 kB / 0.5257 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2681, allocations: 1.781 kB / 0.5257 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.2685, allocations: 306.4 kB / 0.526 GB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.2686, allocations: 26.58 kB / 0.526 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.2687, allocations: 30.64 kB / 0.5261 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2687, allocations: 1.281 kB / 0.5261 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.2688, allocations: 9.969 kB / 0.5261 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2688, allocations: 9.266 kB / 0.5261 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2688, allocations: 1 kB / 0.5261 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006253/0.2694, allocations: 0.528 MB / 0.5266 GB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.2695, allocations: 115.9 kB / 0.5267 GB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.2695, allocations: 6.141 kB / 0.5267 GB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.2698, allocations: 30.2 kB / 0.5267 GB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.2699, allocations: 16.03 kB / 0.5267 GB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.2699, allocations: 10.7 kB / 0.5268 GB, free: 6.156 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002692/0.2702, allocations: 287.8 kB / 0.527 GB, free: 6.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2702, allocations: 1 kB / 0.527 GB, free: 6.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004949/0.2707, allocations: 89.47 kB / 0.5271 GB, free: 6.062 MB / 346.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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002342/0.2709, allocations: 161.8 kB / 0.5273 GB, free: 5.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007406/0.2717, allocations: 453.8 kB / 0.5277 GB, free: 5.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2717, allocations: 1.031 kB / 0.5277 GB, free: 5.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.272, allocations: 284.6 kB / 0.528 GB, free: 5.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.2726, allocations: 66.38 kB / 0.528 GB, free: 5.555 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/0.2736, allocations: 0.7051 MB / 0.5287 GB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.2738, allocations: 0.8015 MB / 0.5295 GB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.2739, allocations: 24.08 kB / 0.5295 GB, free: 4.484 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2739, allocations: 384 / 0.5295 GB, free: 4.484 MB / 346.7 MB Notification: Performance of Templates: time 0.007586/0.2815, allocations: 5.526 MB / 0.5349 GB, free: 3.297 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches