Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.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_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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.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_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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009735/0.0009737, allocations: 95.69 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.001027/0.001027, allocations: 201.8 kB / 18.28 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.419/1.419, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.000255, allocations: 4 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 63.57 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002383/0.1216, allocations: 1.832 MB / 484.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1234, allocations: 1.2 MB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1236, allocations: 8 kB / 486.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.1238, allocations: 51.66 kB / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.1241, allocations: 87.5 kB / 486.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.1246, allocations: 159.5 kB / 486.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005399/0.1251, allocations: 0.5174 MB / 487 MB, free: 288 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.1252, allocations: 52.64 kB / 487 MB, free: 236 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.1255, allocations: 155.2 kB / 487.2 MB, free: 80 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.1258, allocations: 191 kB / 487.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.1259, allocations: 12 kB / 487.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.1262, allocations: 215.7 kB / 487.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1264, allocations: 91.53 kB / 487.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.1266, allocations: 196.5 kB / 487.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008491/0.1275, allocations: 486.5 kB / 488.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1275, allocations: 0 / 488.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1275, allocations: 3.938 kB / 488.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1275, allocations: 0 / 488.3 MB, free: 14.9 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001183/0.1287, allocations: 0.6435 MB / 489 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1288, allocations: 16.88 kB / 489 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004486/0.1292, allocations: 88.33 kB / 489.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.1296, allocations: 295.4 kB / 489.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.1296, allocations: 29.38 kB / 489.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/0.1297, allocations: 36.38 kB / 489.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.1307, allocations: 0.5859 MB / 490 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1308, allocations: 3.938 kB / 490 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.1308, allocations: 20 kB / 490 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.093e-05/0.1308, allocations: 24.98 kB / 490.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008768/0.1317, allocations: 451.6 kB / 490.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.1338, allocations: 1.371 MB / 491.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.1343, allocations: 287.6 kB / 492.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.1346, allocations: 154.5 kB / 492.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.1347, allocations: 7.984 kB / 492.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1347, allocations: 38.5 kB / 492.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.1347, allocations: 0 / 492.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001213/0.136, allocations: 0.4893 MB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.136, allocations: 102.9 kB / 492.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/0.1368, allocations: 0.5096 MB / 493.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.1369, allocations: 25.7 kB / 493.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.137, allocations: 200.2 kB / 493.7 MB, free: 9.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.1371, allocations: 63.09 kB / 493.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.1372, allocations: 17.72 kB / 493.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002597/0.1374, allocations: 350.8 kB / 494.1 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.1379, allocations: 147.9 kB / 494.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.1382, allocations: 185 kB / 494.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006965/0.139, allocations: 327.4 kB / 494.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.139, allocations: 3.938 kB / 494.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008601/0.1398, allocations: 396.8 kB / 495.1 MB, free: 7.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1399, allocations: 11.94 kB / 495.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.548e-05/0.1399, allocations: 31.98 kB / 495.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1399, allocations: 8.156 kB / 495.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.1402, allocations: 35.97 kB / 495.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1402, allocations: 7.922 kB / 495.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.1404, allocations: 71.36 kB / 495.3 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.1405, allocations: 12 kB / 495.3 MB, free: 7.602 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.1407, allocations: 189.8 kB / 495.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.1408, allocations: 39.47 kB / 495.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008955/0.1417, allocations: 396.5 kB / 495.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.1417, allocations: 4 kB / 495.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1417, allocations: 0 / 495.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1418, allocations: 3.984 kB / 495.9 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.1423, allocations: 365.3 kB / 496.3 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.574e-05/0.1423, allocations: 28 kB / 496.3 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.1425, allocations: 31.97 kB / 496.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1425, allocations: 11.92 kB / 496.4 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1425, allocations: 11.98 kB / 496.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1425, allocations: 4 kB / 496.4 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1426, allocations: 0 / 496.4 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000836/0.1434, allocations: 0.6008 MB / 497 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.1435, allocations: 124.6 kB / 497.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/0.1436, allocations: 0 / 497.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.1439, allocations: 27.97 kB / 497.1 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.144, allocations: 19.98 kB / 497.1 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.144, allocations: 8 kB / 497.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004332/0.1444, allocations: 379 kB / 497.5 MB, free: 5.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1444, allocations: 0 / 497.5 MB, free: 5.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005081/0.1449, allocations: 115.9 kB / 497.6 MB, free: 5.176 MB / 366.1 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002767/0.1452, allocations: 163 kB / 497.8 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008975/0.1461, allocations: 0.538 MB / 498.3 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1461, allocations: 4 kB / 498.3 MB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.1466, allocations: 403.9 kB / 498.7 MB, free: 3.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/0.1473, allocations: 92.81 kB / 498.8 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1488, allocations: 0.9308 MB / 499.7 MB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.1494, allocations: 0.8461 MB / 0.4889 GB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.1495, allocations: 67.19 kB / 0.4889 GB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.1496, allocations: 27.42 kB / 0.4889 GB, free: 1.941 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1496, allocations: 0 / 0.4889 GB, free: 1.941 MB / 366.1 MB Notification: Performance of Templates: time 0.0121/0.1617, allocations: 6.737 MB / 0.4955 GB, free: 11.3 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches