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.001394/0.001394, allocations: 106.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.4 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2443/0.2443, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 72.19 kB / 417.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1247, allocations: 62.44 MB / 479.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.004298/0.129, allocations: 2.081 MB / 481.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1307, allocations: 0.927 MB / 482.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.656e-05/0.1308, allocations: 3.938 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.1312, allocations: 59.72 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.1315, allocations: 107.5 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1318, allocations: 75.75 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.1322, allocations: 390.2 kB / 483.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.158e-05/0.1323, allocations: 44.72 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.1326, allocations: 151.2 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.1328, allocations: 195.1 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.1329, allocations: 12 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.1332, allocations: 147.7 kB / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1333, allocations: 91.53 kB / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.1335, allocations: 162.9 kB / 483.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.134, allocations: 422.6 kB / 484.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.134, allocations: 0 / 484.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.134, allocations: 0 / 484.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.134, allocations: 4 kB / 484.3 MB, free: 0.6992 MB / 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.001115/0.1352, allocations: 0.6553 MB / 485 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1352, allocations: 12.03 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.1353, allocations: 40.47 kB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1356, allocations: 271.6 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.1356, allocations: 33.36 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.1357, allocations: 36.31 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008378/0.1365, allocations: 0.5571 MB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1366, allocations: 0 / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.1366, allocations: 15.98 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.856e-05/0.1367, allocations: 40.97 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000962/0.1377, allocations: 0.5815 MB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.1394, allocations: 1.171 MB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006831/0.1401, allocations: 377.6 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.1404, allocations: 132.9 kB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.1405, allocations: 11.92 kB / 488.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1405, allocations: 38.56 kB / 488.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.1405, allocations: 0 / 488.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001015/0.1415, allocations: 464.8 kB / 488.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.1416, allocations: 55.41 kB / 488.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.1421, allocations: 453.6 kB / 489.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1422, allocations: 29.7 kB / 489.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.1423, allocations: 184.4 kB / 489.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/0.1424, allocations: 82.84 kB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1425, allocations: 49.7 kB / 489.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1427, allocations: 354.7 kB / 489.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.1429, allocations: 115.9 kB / 490 MB, free: 10.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.1432, allocations: 123.2 kB / 490.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.1436, allocations: 268.5 kB / 490.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1436, allocations: 0 / 490.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006165/0.1443, allocations: 339.8 kB / 490.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1443, allocations: 6.5 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1443, allocations: 3.938 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1443, allocations: 3.938 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.1451, allocations: 159.9 kB / 490.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.1482, allocations: 5.524 MB / 496.4 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.1484, allocations: 51.39 kB / 496.5 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.1485, allocations: 8 kB / 496.5 MB, free: 4.098 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.0002051/0.1487, allocations: 197.8 kB / 496.7 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.1488, allocations: 31.62 kB / 496.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008681/0.1497, allocations: 456.5 kB / 497.2 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1497, allocations: 4 kB / 497.2 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1497, allocations: 0 / 497.2 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1497, allocations: 7.922 kB / 497.2 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.1501, allocations: 377.2 kB / 497.6 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1501, allocations: 4 kB / 497.6 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/0.1508, allocations: 159.8 kB / 497.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1509, allocations: 0 / 497.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.1509, allocations: 8 kB / 497.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.1538, allocations: 5.513 MB / 0.4914 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1539, allocations: 3.938 kB / 0.4914 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.1546, allocations: 450.1 kB / 0.4919 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1547, allocations: 112.6 kB / 0.492 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.1548, allocations: 12.08 kB / 0.492 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.155, allocations: 12 kB / 0.492 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.1551, allocations: 19.91 kB / 0.492 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.1551, allocations: 12 kB / 0.492 GB, free: 12.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003746/0.1555, allocations: 339.1 kB / 0.4924 GB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1555, allocations: 0 / 0.4924 GB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.1559, allocations: 99.94 kB / 0.4925 GB, free: 12.02 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.0002681/0.1562, allocations: 142.1 kB / 0.4926 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.1574, allocations: 439.5 kB / 0.493 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1574, allocations: 4 kB / 0.493 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008335/0.1582, allocations: 275.7 kB / 0.4933 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.1588, allocations: 89.44 kB / 0.4934 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.1602, allocations: 0.8928 MB / 0.4942 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.1607, allocations: 0.8465 MB / 0.4951 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.1609, allocations: 87.2 kB / 0.4951 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.161, allocations: 31.42 kB / 0.4952 GB, free: 9.176 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.161, allocations: 4 kB / 0.4952 GB, free: 9.172 MB / 382.1 MB Notification: Performance of Templates: time 0.01229/0.1733, allocations: 7.264 MB / 0.5023 GB, free: 1.996 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