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_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.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 226.6 MB / 243.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00087/0.0008701, allocations: 98.05 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2869/0.2869, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002901, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3307, allocations: 62.96 MB / 0.5159 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.001997/0.3327, allocations: 1.565 MB / 0.5174 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3339, allocations: 0.7674 MB / 0.5182 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.334, allocations: 0 / 0.5182 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.3343, allocations: 49.59 kB / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.3345, allocations: 77.27 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.3348, allocations: 74.98 kB / 0.5184 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.3351, allocations: 306.2 kB / 0.5187 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.16e-05/0.3352, allocations: 29.86 kB / 0.5187 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.3354, allocations: 93.44 kB / 0.5188 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.3355, allocations: 126.2 kB / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.3356, allocations: 2.938 kB / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.3358, allocations: 118.3 kB / 0.519 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.3359, allocations: 69.59 kB / 0.5191 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.336, allocations: 122.5 kB / 0.5192 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3362, allocations: 210.6 kB / 0.5194 GB, free: 35.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3362, allocations: 0 / 0.5194 GB, free: 35.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3362, allocations: 0 / 0.5194 GB, free: 35.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3362, allocations: 0 / 0.5194 GB, free: 35.08 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006509/0.3369, allocations: 0.5065 MB / 0.5199 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3369, allocations: 8.156 kB / 0.5199 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/0.337, allocations: 30.59 kB / 0.5199 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.3372, allocations: 241.6 kB / 0.5202 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3372, allocations: 21.34 kB / 0.5202 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.3373, allocations: 28.89 kB / 0.5202 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.3378, allocations: 381.5 kB / 0.5206 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3378, allocations: 2.688 kB / 0.5206 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.3379, allocations: 11.98 kB / 0.5206 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/0.3379, allocations: 28.19 kB / 0.5206 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.3385, allocations: 381.8 kB / 0.521 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.3395, allocations: 0.8381 MB / 0.5218 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.3399, allocations: 271.6 kB / 0.5221 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.3401, allocations: 98.08 kB / 0.5221 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.3402, allocations: 6.656 kB / 0.5222 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.3402, allocations: 38.56 kB / 0.5222 GB, free: 33.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3402, allocations: 0 / 0.5222 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.000675/0.3409, allocations: 344.2 kB / 0.5225 GB, free: 33.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.3409, allocations: 58 kB / 0.5226 GB, free: 33.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.3412, allocations: 339 kB / 0.5229 GB, free: 33.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3412, allocations: 25.7 kB / 0.5229 GB, free: 33.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.3413, allocations: 176.9 kB / 0.5231 GB, free: 33.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.3414, allocations: 51.33 kB / 0.5231 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.3414, allocations: 4 kB / 0.5231 GB, free: 32.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.672e-05/0.3415, allocations: 342.7 kB / 0.5235 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.3417, allocations: 104.8 kB / 0.5236 GB, free: 32.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.3419, allocations: 191.2 kB / 0.5238 GB, free: 32.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.3423, allocations: 317 kB / 0.5241 GB, free: 32.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3423, allocations: 2.938 kB / 0.5241 GB, free: 32.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005143/0.3428, allocations: 351.9 kB / 0.5244 GB, free: 32.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3429, allocations: 11.16 kB / 0.5244 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3429, allocations: 2.656 kB / 0.5244 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3429, allocations: 5.156 kB / 0.5244 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.3434, allocations: 121.7 kB / 0.5245 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.3446, allocations: 3.66 MB / 0.5281 GB, free: 28.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.3448, allocations: 47.59 kB / 0.5281 GB, free: 28.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.3449, allocations: 18.5 kB / 0.5282 GB, free: 28.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.3451, allocations: 179.5 kB / 0.5283 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.3451, allocations: 25.41 kB / 0.5284 GB, free: 28.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/0.3457, allocations: 338.4 kB / 0.5287 GB, free: 28.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3457, allocations: 9.781 kB / 0.5287 GB, free: 28.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3457, allocations: 0 / 0.5287 GB, free: 28.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3457, allocations: 0 / 0.5287 GB, free: 28.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.346, allocations: 300.5 kB / 0.529 GB, free: 28.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.346, allocations: 2.844 kB / 0.529 GB, free: 28.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.3465, allocations: 107.3 kB / 0.5291 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3465, allocations: 0 / 0.5291 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.3465, allocations: 9.344 kB / 0.5291 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009687/0.3475, allocations: 3.653 MB / 0.5327 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3475, allocations: 7.922 kB / 0.5327 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.3479, allocations: 365 kB / 0.533 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.348, allocations: 101.7 kB / 0.5331 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.348, allocations: 6.297 kB / 0.5331 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3482, allocations: 13.44 kB / 0.5331 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.3482, allocations: 15.14 kB / 0.5331 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3482, allocations: 6.969 kB / 0.5332 GB, free: 24.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.3484, allocations: 248.1 kB / 0.5334 GB, free: 24.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3484, allocations: 4 kB / 0.5334 GB, free: 24.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003411/0.3488, allocations: 71.56 kB / 0.5335 GB, free: 24.06 MB / 378.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001788/0.349, allocations: 127.5 kB / 0.5336 GB, free: 23.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007671/0.3497, allocations: 328.1 kB / 0.5339 GB, free: 23.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3497, allocations: 4 kB / 0.5339 GB, free: 23.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.3503, allocations: 197.9 kB / 0.5341 GB, free: 23.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3507, allocations: 69.06 kB / 0.5342 GB, free: 23.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007408/0.3514, allocations: 0.6548 MB / 0.5348 GB, free: 23.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.3516, allocations: 0.7884 MB / 0.5356 GB, free: 22.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.3517, allocations: 27.34 kB / 0.5356 GB, free: 22.78 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3517, allocations: 0 / 0.5356 GB, free: 22.78 MB / 378.7 MB Notification: Performance of Templates: time 0.01163/0.3633, allocations: 10.79 MB / 0.5461 GB, free: 20.45 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches