Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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_laminar,tolerance=1e-06,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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009244/0.0009244, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.8 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003502, allocations: 11.98 kB / 419.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1364, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002409/0.1389, allocations: 1.832 MB / 484.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1408, allocations: 1.273 MB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.1409, allocations: 0 / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1412, allocations: 59.66 kB / 486.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1414, allocations: 83.5 kB / 486.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.1419, allocations: 171.5 kB / 486.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000536/0.1424, allocations: 0.5252 MB / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.123e-05/0.1425, allocations: 44.72 kB / 487.1 MB, free: 148 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.1428, allocations: 155.2 kB / 487.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.143, allocations: 187 kB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.1431, allocations: 12 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.1435, allocations: 263.5 kB / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1436, allocations: 91.53 kB / 487.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1438, allocations: 200.5 kB / 488 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.1443, allocations: 0.5022 MB / 488.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1443, allocations: 0 / 488.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1444, allocations: 0 / 488.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1444, allocations: 0 / 488.5 MB, free: 14.74 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.001072/0.1454, allocations: 0.6514 MB / 489.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1455, allocations: 8.875 kB / 489.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.1459, allocations: 92.33 kB / 489.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.1463, allocations: 291.4 kB / 489.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.1463, allocations: 29.38 kB / 489.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.1464, allocations: 36.38 kB / 489.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009425/0.1473, allocations: 0.6014 MB / 490.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1473, allocations: 0 / 490.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.1474, allocations: 19.98 kB / 490.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/0.1474, allocations: 17 kB / 490.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.1483, allocations: 455.5 kB / 490.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.1501, allocations: 1.375 MB / 492 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.1507, allocations: 291.5 kB / 492.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.1511, allocations: 150.5 kB / 492.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.1511, allocations: 8 kB / 492.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1511, allocations: 34.56 kB / 492.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.1512, allocations: 0 / 492.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001415/0.1526, allocations: 493 kB / 493 MB, free: 10.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.1527, allocations: 118.7 kB / 493.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006349/0.1533, allocations: 0.494 MB / 493.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.1534, allocations: 33.64 kB / 493.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.1535, allocations: 204.2 kB / 493.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.1536, allocations: 67.08 kB / 493.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.1537, allocations: 21.75 kB / 493.9 MB, free: 9.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1538, allocations: 350.8 kB / 494.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.1542, allocations: 135.9 kB / 494.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.1546, allocations: 184 kB / 494.6 MB, free: 8.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/0.1553, allocations: 332.8 kB / 494.9 MB, free: 8.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1553, allocations: 3.938 kB / 494.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000849/0.1562, allocations: 407.8 kB / 495.3 MB, free: 7.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1562, allocations: 11.88 kB / 495.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.689e-05/0.1563, allocations: 31.98 kB / 495.3 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1563, allocations: 0 / 495.3 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.1565, allocations: 39.97 kB / 495.4 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1565, allocations: 7.984 kB / 495.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.1568, allocations: 59.45 kB / 495.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.1568, allocations: 16 kB / 495.5 MB, free: 7.438 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.0001919/0.157, allocations: 185.7 kB / 495.6 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.1571, allocations: 43.47 kB / 495.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007883/0.1579, allocations: 392.6 kB / 496.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.158, allocations: 4 kB / 496.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.158, allocations: 0 / 496.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.158, allocations: 4 kB / 496.1 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.1585, allocations: 357.4 kB / 496.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.529e-05/0.1586, allocations: 32 kB / 496.5 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1587, allocations: 35.91 kB / 496.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1587, allocations: 3.938 kB / 496.5 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.1588, allocations: 15.98 kB / 496.5 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1588, allocations: 0 / 496.5 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1588, allocations: 4 kB / 496.5 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008515/0.1596, allocations: 0.5989 MB / 497.1 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1598, allocations: 124.5 kB / 497.2 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.1598, allocations: 4 kB / 497.2 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.1601, allocations: 27.97 kB / 497.3 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.1602, allocations: 23.92 kB / 497.3 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.1602, allocations: 12 kB / 497.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000425/0.1607, allocations: 379 kB / 497.7 MB, free: 5.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1607, allocations: 0 / 497.7 MB, free: 5.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005264/0.1612, allocations: 119.9 kB / 497.8 MB, free: 5.004 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.0003402/0.1616, allocations: 163.1 kB / 498 MB, free: 4.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000925/0.1625, allocations: 0.5452 MB / 498.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1625, allocations: 4.062 kB / 498.5 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.163, allocations: 395.7 kB / 498.9 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/0.1637, allocations: 93.45 kB / 499 MB, free: 3.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.1652, allocations: 0.9386 MB / 499.9 MB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.1656, allocations: 0.8461 MB / 0.489 GB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.1658, allocations: 59.23 kB / 0.4891 GB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.1658, allocations: 35.42 kB / 0.4891 GB, free: 1.762 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1659, allocations: 0 / 0.4891 GB, free: 1.762 MB / 366.1 MB Notification: Performance of Templates: time 0.01163/0.1775, allocations: 6.855 MB / 0.4958 GB, free: 11 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches