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.0009256/0.0009257, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 226.5 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008536/0.0008536, allocations: 102.9 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3216/0.3216, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.000276, allocations: 8 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.33, allocations: 62.95 MB / 0.5159 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.001917/0.332, allocations: 1.684 MB / 0.5175 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3334, allocations: 1.044 MB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.3335, allocations: 2.969 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.3337, allocations: 45.81 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.3339, allocations: 67.31 kB / 0.5187 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.3343, allocations: 134.6 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.3346, allocations: 363.6 kB / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.569e-05/0.3347, allocations: 35.8 kB / 0.5192 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.3349, allocations: 117.2 kB / 0.5193 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.3351, allocations: 146.1 kB / 0.5194 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.3351, allocations: 5.844 kB / 0.5194 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.3354, allocations: 190.7 kB / 0.5196 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.061e-05/0.3355, allocations: 71.81 kB / 0.5197 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3356, allocations: 142.3 kB / 0.5198 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.3359, allocations: 271.2 kB / 0.5201 GB, free: 34.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3359, allocations: 0 / 0.5201 GB, free: 34.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3359, allocations: 4 kB / 0.5201 GB, free: 34.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3359, allocations: 0 / 0.5201 GB, free: 34.7 MB / 378.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.0008645/0.3368, allocations: 0.5908 MB / 0.5207 GB, free: 34.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3369, allocations: 8.594 kB / 0.5207 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.3372, allocations: 76.59 kB / 0.5207 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.3375, allocations: 257 kB / 0.521 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.3375, allocations: 36.14 kB / 0.521 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.3375, allocations: 23.03 kB / 0.521 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.3381, allocations: 447.4 kB / 0.5215 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3382, allocations: 0 / 0.5215 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.3382, allocations: 11.06 kB / 0.5215 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.3382, allocations: 22.58 kB / 0.5215 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.3388, allocations: 343.9 kB / 0.5218 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.34, allocations: 1.097 MB / 0.5229 GB, free: 32.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.3404, allocations: 253.7 kB / 0.5231 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.3407, allocations: 119.7 kB / 0.5233 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.3408, allocations: 9.422 kB / 0.5233 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.3408, allocations: 38.5 kB / 0.5233 GB, free: 32.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.3408, allocations: 0 / 0.5233 GB, free: 32.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009166/0.3417, allocations: 385.2 kB / 0.5237 GB, free: 32.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.3418, allocations: 109.6 kB / 0.5238 GB, free: 32.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.3421, allocations: 406.6 kB / 0.5242 GB, free: 32.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3422, allocations: 25.7 kB / 0.5242 GB, free: 32.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3423, allocations: 196.1 kB / 0.5244 GB, free: 32.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.3423, allocations: 58.78 kB / 0.5244 GB, free: 32.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.3423, allocations: 7.938 kB / 0.5244 GB, free: 32.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.3424, allocations: 341.3 kB / 0.5248 GB, free: 31.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.3427, allocations: 129.8 kB / 0.5249 GB, free: 31.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.343, allocations: 255.4 kB / 0.5251 GB, free: 31.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005921/0.3436, allocations: 384 kB / 0.5255 GB, free: 31.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3437, allocations: 0 / 0.5255 GB, free: 31.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007368/0.3444, allocations: 420.6 kB / 0.5259 GB, free: 31.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3444, allocations: 7.406 kB / 0.5259 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.374e-05/0.3445, allocations: 25.67 kB / 0.5259 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.3445, allocations: 5.219 kB / 0.5259 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.3447, allocations: 60.7 kB / 0.526 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.3448, allocations: 16.98 kB / 0.526 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.345, allocations: 65.17 kB / 0.5261 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.3451, allocations: 17.7 kB / 0.5261 GB, free: 31.18 MB / 378.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.000148/0.3452, allocations: 179 kB / 0.5263 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.3453, allocations: 31.5 kB / 0.5263 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.3458, allocations: 292.6 kB / 0.5266 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3459, allocations: 6.281 kB / 0.5266 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3459, allocations: 3.938 kB / 0.5266 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3459, allocations: 2.781 kB / 0.5266 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.3463, allocations: 301.7 kB / 0.5269 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/0.3463, allocations: 20.89 kB / 0.5269 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3464, allocations: 33.95 kB / 0.5269 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3465, allocations: 0 / 0.5269 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.3465, allocations: 12.53 kB / 0.5269 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3465, allocations: 0 / 0.5269 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3465, allocations: 6.625 kB / 0.5269 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.3471, allocations: 0.5176 MB / 0.5274 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.3472, allocations: 116.8 kB / 0.5276 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.3472, allocations: 2.562 kB / 0.5276 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.3475, allocations: 26.31 kB / 0.5276 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3476, allocations: 15.05 kB / 0.5276 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.3476, allocations: 20.48 kB / 0.5276 GB, free: 30.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.3478, allocations: 284.7 kB / 0.5279 GB, free: 30.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3478, allocations: 4 kB / 0.5279 GB, free: 30.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004862/0.3483, allocations: 95.97 kB / 0.528 GB, free: 30.06 MB / 378.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.0002877/0.3486, allocations: 159.9 kB / 0.5281 GB, free: 29.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007108/0.3494, allocations: 449.2 kB / 0.5286 GB, free: 29.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3494, allocations: 0 / 0.5286 GB, free: 29.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.3497, allocations: 291.2 kB / 0.5288 GB, free: 29.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.3503, allocations: 70.52 kB / 0.5289 GB, free: 29.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.3513, allocations: 0.6969 MB / 0.5296 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3515, allocations: 0.7978 MB / 0.5304 GB, free: 28.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.3516, allocations: 22.03 kB / 0.5304 GB, free: 28.38 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3516, allocations: 3.938 kB / 0.5304 GB, free: 28.37 MB / 378.7 MB Notification: Performance of Templates: time 0.008171/0.3598, allocations: 5.499 MB / 0.5358 GB, free: 27.91 MB / 378.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