Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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 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_KC,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.|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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,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.|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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001648/0.001648, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001887/0.001887, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2661/0.2661, allocations: 46.13 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 85.56 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1348, allocations: 62.46 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003722/0.1386, allocations: 2.023 MB / 482.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1402, allocations: 0.9268 MB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.1403, allocations: 4 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.1407, allocations: 63.59 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.141, allocations: 119.4 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1413, allocations: 87.7 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.1417, allocations: 390.1 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.1418, allocations: 36.72 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.142, allocations: 159.2 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.1423, allocations: 183.1 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.1423, allocations: 8 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.1426, allocations: 147.7 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1427, allocations: 91.53 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.1429, allocations: 166.9 kB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005166/0.1434, allocations: 414.7 kB / 484.9 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1435, allocations: 0 / 484.9 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1435, allocations: 4 kB / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1435, allocations: 0 / 484.9 MB, free: 372 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001155/0.1446, allocations: 0.6591 MB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1447, allocations: 8.031 kB / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.062e-05/0.1448, allocations: 40.47 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1451, allocations: 279.6 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.1452, allocations: 25.38 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.1452, allocations: 36.36 kB / 486 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008678/0.1461, allocations: 0.561 MB / 486.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1461, allocations: 0 / 486.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.1462, allocations: 16 kB / 486.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.753e-05/0.1463, allocations: 48.91 kB / 486.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009907/0.1473, allocations: 0.5659 MB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.149, allocations: 1.171 MB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.1497, allocations: 378.1 kB / 488.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.15, allocations: 140.9 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.1501, allocations: 11.88 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.1501, allocations: 34.56 kB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 4.037e-06/0.1501, allocations: 3.984 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001149/0.1513, allocations: 464.2 kB / 489.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1513, allocations: 63.34 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.1519, allocations: 449.6 kB / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.1519, allocations: 33.7 kB / 489.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1521, allocations: 180.4 kB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.638e-05/0.1522, allocations: 86.83 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.1523, allocations: 49.69 kB / 490.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1525, allocations: 354.7 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.1527, allocations: 119.9 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.153, allocations: 119.9 kB / 490.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.1536, allocations: 260.6 kB / 491 MB, free: 10.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1536, allocations: 0 / 491 MB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006817/0.1542, allocations: 344.5 kB / 491.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1543, allocations: 8 kB / 491.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1543, allocations: 7.938 kB / 491.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1543, allocations: 0 / 491.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007746/0.1551, allocations: 151.9 kB / 491.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/0.1586, allocations: 5.528 MB / 497 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.1589, allocations: 47.38 kB / 497.1 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.1589, allocations: 11.98 kB / 497.1 MB, free: 3.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002242/0.1592, allocations: 185.7 kB / 497.3 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.1592, allocations: 35.62 kB / 497.3 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009164/0.1602, allocations: 460.5 kB / 497.8 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1602, allocations: 4 kB / 497.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1602, allocations: 0 / 497.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1602, allocations: 0 / 497.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.1607, allocations: 377.2 kB / 498.1 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1607, allocations: 0 / 498.1 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007029/0.1614, allocations: 151.9 kB / 498.3 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1614, allocations: 0 / 498.3 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.1615, allocations: 15.88 kB / 498.3 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.1649, allocations: 5.516 MB / 0.492 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.165, allocations: 3.938 kB / 0.492 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.1657, allocations: 447.1 kB / 0.4924 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1658, allocations: 116.6 kB / 0.4926 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.1659, allocations: 7.938 kB / 0.4926 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.1661, allocations: 8 kB / 0.4926 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.1662, allocations: 23.91 kB / 0.4926 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.1663, allocations: 15.98 kB / 0.4926 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.1667, allocations: 335.1 kB / 0.4929 GB, free: 11.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1667, allocations: 4 kB / 0.4929 GB, free: 11.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004187/0.1671, allocations: 99.94 kB / 0.493 GB, free: 11.68 MB / 382.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002679/0.1674, allocations: 135.1 kB / 0.4932 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.1687, allocations: 444.6 kB / 0.4936 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1687, allocations: 0 / 0.4936 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008589/0.1696, allocations: 274.7 kB / 0.4938 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.1701, allocations: 93.44 kB / 0.4939 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1715, allocations: 0.7976 MB / 0.4947 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.1721, allocations: 0.8465 MB / 0.4955 GB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.1723, allocations: 83.22 kB / 0.4956 GB, free: 8.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.1724, allocations: 35.42 kB / 0.4956 GB, free: 8.934 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1724, allocations: 0 / 0.4956 GB, free: 8.934 MB / 382.1 MB Notification: Performance of Templates: time 0.01472/0.1871, allocations: 7.317 MB / 0.5028 GB, free: 1.703 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_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/kc_laminar_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches