Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009607/0.0009608, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000921/0.000921, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.8 MB / 246.9 MB, free: 11.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2285/0.2285, allocations: 46.2 MB / 345.3 MB, free: 11.35 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003318, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 63.55 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003854/0.1323, allocations: 1.603 MB / 484.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.1344, allocations: 0.8336 MB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1345, allocations: 0 / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.1349, allocations: 47.73 kB / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.1352, allocations: 83.62 kB / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.1356, allocations: 70.67 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.136, allocations: 366.5 kB / 486.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.316e-05/0.1361, allocations: 36.38 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.1364, allocations: 91.52 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1367, allocations: 131.4 kB / 486.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.1367, allocations: 4 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.137, allocations: 123.8 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1371, allocations: 67.69 kB / 486.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.1373, allocations: 129 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.1377, allocations: 287.1 kB / 487 MB, free: 208 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1377, allocations: 4 kB / 487 MB, free: 204 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1377, allocations: 0 / 487 MB, free: 204 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1378, allocations: 0 / 487 MB, free: 204 kB / 350.1 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.001047/0.1388, allocations: 0.5147 MB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1389, allocations: 12.03 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.1389, allocations: 28.56 kB / 487.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.1393, allocations: 234 kB / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.1394, allocations: 20.94 kB / 487.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.1394, allocations: 28.12 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/0.1402, allocations: 377.2 kB / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.1403, allocations: 11.94 kB / 488.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.1403, allocations: 12 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.1404, allocations: 24.64 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.1411, allocations: 386.3 kB / 488.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.1425, allocations: 0.8306 MB / 489.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.143, allocations: 277 kB / 489.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.1433, allocations: 100.8 kB / 489.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.1434, allocations: 3.938 kB / 489.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.1434, allocations: 38.5 kB / 489.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1434, allocations: 0 / 489.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008918/0.1443, allocations: 349.2 kB / 490.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1444, allocations: 51.41 kB / 490.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.1449, allocations: 338.9 kB / 490.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1449, allocations: 37.64 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.1451, allocations: 168 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.1452, allocations: 63.17 kB / 490.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.1453, allocations: 29.7 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1455, allocations: 338.8 kB / 491.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.1458, allocations: 100.4 kB / 491.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.1461, allocations: 189.9 kB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.1468, allocations: 318 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1468, allocations: 0 / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000784/0.1476, allocations: 361.2 kB / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.1476, allocations: 11.94 kB / 492.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1476, allocations: 0 / 492.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-05/0.1477, allocations: 8 kB / 492.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.1483, allocations: 127.9 kB / 492.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.151, allocations: 3.657 MB / 496 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1512, allocations: 43.53 kB / 496 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.1513, allocations: 19.98 kB / 496 MB, free: 6.746 MB / 366.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002663/0.1515, allocations: 177.8 kB / 496.2 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.1516, allocations: 27.72 kB / 496.2 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008176/0.1524, allocations: 339.3 kB / 496.6 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1524, allocations: 4 kB / 496.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1525, allocations: 0 / 496.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1525, allocations: 0 / 496.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1529, allocations: 301.4 kB / 496.9 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1529, allocations: 0 / 496.9 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.1534, allocations: 108 kB / 497 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1534, allocations: 0 / 497 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.1534, allocations: 7.984 kB / 497 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.1559, allocations: 3.653 MB / 0.4889 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.1559, allocations: 4.219 kB / 0.4889 GB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.1565, allocations: 362.4 kB / 0.4893 GB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1567, allocations: 108.6 kB / 0.4894 GB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.1567, allocations: 11.98 kB / 0.4894 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1569, allocations: 11.94 kB / 0.4894 GB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.157, allocations: 15.98 kB / 0.4894 GB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.157, allocations: 7.984 kB / 0.4894 GB, free: 1.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002887/0.1573, allocations: 245.9 kB / 0.4896 GB, free: 1.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1573, allocations: 0 / 0.4896 GB, free: 1.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.1577, allocations: 79.94 kB / 0.4897 GB, free: 1.078 MB / 366.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002606/0.158, allocations: 135.2 kB / 0.4898 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009688/0.159, allocations: 328.2 kB / 0.4902 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.159, allocations: 3.938 kB / 0.4902 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.1596, allocations: 196 kB / 0.4903 GB, free: 432 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1601, allocations: 56.84 kB / 0.4904 GB, free: 372 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.1613, allocations: 0.6633 MB / 0.4911 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.1618, allocations: 0.795 MB / 0.4918 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002276/0.162, allocations: 82.88 kB / 0.4919 GB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.1621, allocations: 27.44 kB / 0.4919 GB, free: 14.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1621, allocations: 0 / 0.4919 GB, free: 14.75 MB / 382.1 MB Notification: Performance of Templates: time 0.01061/0.1727, allocations: 5.068 MB / 0.4969 GB, free: 9.762 MB / 382.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches