Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 121.3 kB / 19.18 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002003/0.002003, allocations: 206.5 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.3 MB / 255.2 MB, free: 15.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2265/0.2265, allocations: 46.92 MB / 358.2 MB, free: 10.43 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5004,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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 81.75 kB / 0.4925 GB, free: 26.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1142, allocations: 66 MB / 0.557 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003517/0.1177, allocations: 2.146 MB / 0.5591 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1198, allocations: 1.297 MB / 0.5604 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1199, allocations: 0 / 0.5604 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.1202, allocations: 67.58 kB / 0.5604 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.1204, allocations: 103.4 kB / 0.5605 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.121, allocations: 207.2 kB / 0.5607 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1215, allocations: 441.9 kB / 0.5611 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.1216, allocations: 32.75 kB / 0.5612 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.1218, allocations: 159.2 kB / 0.5613 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1221, allocations: 191 kB / 0.5615 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.1221, allocations: 12 kB / 0.5615 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.1225, allocations: 271.5 kB / 0.5618 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1226, allocations: 95.53 kB / 0.5619 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.1228, allocations: 162.9 kB / 0.562 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.1235, allocations: 0.5251 MB / 0.5625 GB, free: 2.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1235, allocations: 0 / 0.5625 GB, free: 2.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1235, allocations: 0 / 0.5625 GB, free: 2.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1235, allocations: 0 / 0.5625 GB, free: 2.789 MB / 414.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.001193/0.1247, allocations: 0.7167 MB / 0.5632 GB, free: 2.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1247, allocations: 12.03 kB / 0.5632 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/0.1251, allocations: 80.61 kB / 0.5633 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.1255, allocations: 295.7 kB / 0.5636 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.1255, allocations: 29.38 kB / 0.5636 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.1256, allocations: 36.38 kB / 0.5637 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000962/0.1265, allocations: 0.578 MB / 0.5642 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1265, allocations: 0 / 0.5642 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.1266, allocations: 16 kB / 0.5642 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-05/0.1266, allocations: 24.98 kB / 0.5643 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000857/0.1275, allocations: 423.6 kB / 0.5647 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.1293, allocations: 1.383 MB / 0.566 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.1299, allocations: 263.5 kB / 0.5663 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.1302, allocations: 130.5 kB / 0.5664 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.1302, allocations: 7.984 kB / 0.5664 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.1303, allocations: 46.5 kB / 0.5665 GB, free: 14.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 3.276e-06/0.1303, allocations: 3.984 kB / 0.5665 GB, free: 14.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001208/0.1315, allocations: 454 kB / 0.5669 GB, free: 14.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.1316, allocations: 110.9 kB / 0.567 GB, free: 13.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.1321, allocations: 0.5018 MB / 0.5675 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1322, allocations: 25.7 kB / 0.5675 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1323, allocations: 216.2 kB / 0.5677 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.1324, allocations: 59.48 kB / 0.5678 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.1325, allocations: 49.7 kB / 0.5678 GB, free: 13.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1327, allocations: 350.8 kB / 0.5682 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.133, allocations: 131.8 kB / 0.5683 GB, free: 12.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.1334, allocations: 173 kB / 0.5684 GB, free: 12.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.1341, allocations: 302.4 kB / 0.5687 GB, free: 12.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1341, allocations: 4 kB / 0.5687 GB, free: 12.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008493/0.1349, allocations: 382.2 kB / 0.5691 GB, free: 11.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1349, allocations: 7.938 kB / 0.5691 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.277e-05/0.135, allocations: 28 kB / 0.5691 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.135, allocations: 4.156 kB / 0.5691 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.1352, allocations: 43.89 kB / 0.5692 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1352, allocations: 0 / 0.5692 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.1355, allocations: 55.61 kB / 0.5692 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.1355, allocations: 15.98 kB / 0.5692 GB, free: 11.58 MB / 430.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.0001957/0.1357, allocations: 185.7 kB / 0.5694 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.1358, allocations: 43.66 kB / 0.5695 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007925/0.1366, allocations: 380.7 kB / 0.5698 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.1366, allocations: 4 kB / 0.5698 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1366, allocations: 3.938 kB / 0.5698 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1366, allocations: 7.984 kB / 0.5698 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/0.1374, allocations: 361.3 kB / 0.5702 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.116e-05/0.1375, allocations: 27.98 kB / 0.5702 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.1377, allocations: 27.97 kB / 0.5702 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.1377, allocations: 11.94 kB / 0.5703 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.1378, allocations: 7.938 kB / 0.5703 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1378, allocations: 4 kB / 0.5703 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1378, allocations: 0 / 0.5703 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.1392, allocations: 0.5735 MB / 0.5708 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.1394, allocations: 132.7 kB / 0.571 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.74e-05/0.1395, allocations: 4 kB / 0.571 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.14, allocations: 19.97 kB / 0.571 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.1401, allocations: 15.98 kB / 0.571 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.1401, allocations: 12 kB / 0.571 GB, free: 9.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007384/0.1409, allocations: 383 kB / 0.5714 GB, free: 9.312 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1409, allocations: 0 / 0.5714 GB, free: 9.312 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000852/0.1417, allocations: 115.8 kB / 0.5715 GB, free: 9.199 MB / 430.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.0004098/0.1421, allocations: 162.9 kB / 0.5716 GB, free: 9.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.1437, allocations: 0.5131 MB / 0.5721 GB, free: 8.465 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1437, allocations: 4 kB / 0.5721 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008614/0.1445, allocations: 387.4 kB / 0.5725 GB, free: 8.027 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.1457, allocations: 97.38 kB / 0.5726 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.1478, allocations: 0.8459 MB / 0.5734 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.1485, allocations: 0.8456 MB / 0.5743 GB, free: 6.176 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1486, allocations: 35.42 kB / 0.5743 GB, free: 6.145 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1486, allocations: 0 / 0.5743 GB, free: 6.145 MB / 430.1 MB Notification: Performance of Templates: time 0.01696/0.1655, allocations: 7.055 MB / 0.5812 GB, free: 15.13 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.072851393997553]