Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 97 kB / 17 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 182.1 kB / 17.89 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2178/0.2178, allocations: 44.24 MB / 337.3 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 8.938 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1263, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002242/0.1287, allocations: 1.75 MB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1303, allocations: 1.13 MB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.849e-05/0.1305, allocations: 0 / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.1307, allocations: 47.67 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1309, allocations: 87.5 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.1314, allocations: 159.4 kB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.1318, allocations: 473.9 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.1319, allocations: 44.72 kB / 475.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.1321, allocations: 147.2 kB / 475.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.1323, allocations: 183.2 kB / 475.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.1324, allocations: 12 kB / 475.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.1328, allocations: 239.5 kB / 475.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.981e-05/0.1329, allocations: 91.58 kB / 475.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.133, allocations: 85.52 kB / 476 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.1334, allocations: 359.2 kB / 476.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1334, allocations: 0 / 476.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1334, allocations: 0 / 476.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1334, allocations: 0 / 476.4 MB, free: 8.875 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001032/0.1345, allocations: 0.6573 MB / 477 MB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1345, allocations: 8.031 kB / 477 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.1346, allocations: 43.44 kB / 477.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.1349, allocations: 286.2 kB / 477.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.135, allocations: 29 kB / 477.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.135, allocations: 36 kB / 477.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.136, allocations: 0.5855 MB / 478 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.136, allocations: 4 kB / 478 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.136, allocations: 16 kB / 478 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.1361, allocations: 17 kB / 478.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000888/0.137, allocations: 455.5 kB / 478.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.1389, allocations: 1.371 MB / 479.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.1394, allocations: 283.5 kB / 480.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.1398, allocations: 154.5 kB / 480.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.1398, allocations: 7.953 kB / 480.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1399, allocations: 34.56 kB / 480.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.697e-06/0.1399, allocations: 4 kB / 480.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001146/0.141, allocations: 493 kB / 480.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.1411, allocations: 114.8 kB / 480.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.1417, allocations: 0.494 MB / 481.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1417, allocations: 29.7 kB / 481.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1419, allocations: 204.1 kB / 481.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.142, allocations: 55.2 kB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.142, allocations: 4 kB / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1422, allocations: 354.8 kB / 482.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.1425, allocations: 140 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.1428, allocations: 187.6 kB / 482.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.1432, allocations: 151.8 kB / 482.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1432, allocations: 0 / 482.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000779/0.144, allocations: 404.9 kB / 482.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.144, allocations: 12.09 kB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.578e-05/0.1441, allocations: 35.98 kB / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1441, allocations: 0 / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.1443, allocations: 35.97 kB / 483 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.1443, allocations: 4 kB / 483 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.1446, allocations: 67.41 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.1446, allocations: 12 kB / 483.1 MB, free: 1.867 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002049/0.1448, allocations: 190.2 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.1449, allocations: 39.53 kB / 483.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007842/0.1457, allocations: 395.2 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.1457, allocations: 4 kB / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1457, allocations: 7.922 kB / 483.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1458, allocations: 4 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.1463, allocations: 365.2 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.547e-05/0.1464, allocations: 31.98 kB / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.1465, allocations: 35.97 kB / 484.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1465, allocations: 0 / 484.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.1466, allocations: 16 kB / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1466, allocations: 0 / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1466, allocations: 0 / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.1474, allocations: 0.6049 MB / 484.8 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.1476, allocations: 124.6 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.1476, allocations: 0 / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.1479, allocations: 27.97 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.148, allocations: 23.92 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.148, allocations: 15.98 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004163/0.1485, allocations: 371 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1485, allocations: 0 / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.149, allocations: 119.9 kB / 485.4 MB, free: 15.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003556/0.1494, allocations: 155.1 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000937/0.1503, allocations: 0.5458 MB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1503, allocations: 0 / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.1509, allocations: 395.4 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.1516, allocations: 101.5 kB / 486.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1531, allocations: 0.8875 MB / 487.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.1535, allocations: 0.8461 MB / 488.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.1537, allocations: 55.27 kB / 488.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.1538, allocations: 27.42 kB / 488.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1538, allocations: 0 / 488.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01157/0.1653, allocations: 6.667 MB / 495.1 MB, free: 5.68 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches