Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 105.2 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 217.3 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 207.6 MB / 234.5 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.198/0.198, allocations: 44.24 MB / 331 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 71.89 kB / 468.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1088, allocations: 61.04 MB / 0.5174 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.004715/0.1135, allocations: 2.152 MB / 0.5195 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.1162, allocations: 1.282 MB / 0.5208 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1164, allocations: 0 / 0.5208 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.1167, allocations: 67.59 kB / 0.5208 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.1171, allocations: 103.4 kB / 0.5209 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.1178, allocations: 191.2 kB / 0.5211 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007339/0.1186, allocations: 438 kB / 0.5215 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.1187, allocations: 20.92 kB / 0.5215 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.119, allocations: 159.2 kB / 0.5217 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.1194, allocations: 187 kB / 0.5219 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.1195, allocations: 12 kB / 0.5219 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.1201, allocations: 259.6 kB / 0.5221 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.1203, allocations: 95.52 kB / 0.5222 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.1206, allocations: 166.9 kB / 0.5224 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009142/0.1215, allocations: 0.5056 MB / 0.5229 GB, free: 1.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1215, allocations: 0 / 0.5229 GB, free: 1.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1215, allocations: 4 kB / 0.5229 GB, free: 1.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.1215, allocations: 0 / 0.5229 GB, free: 1.156 MB / 398.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.001622/0.1231, allocations: 0.6415 MB / 0.5235 GB, free: 496 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1231, allocations: 8.031 kB / 0.5235 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.1233, allocations: 52.66 kB / 0.5236 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.1237, allocations: 241.5 kB / 0.5238 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.1238, allocations: 33.38 kB / 0.5238 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.1239, allocations: 40.36 kB / 0.5239 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.1251, allocations: 0.5742 MB / 0.5244 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1251, allocations: 3.938 kB / 0.5244 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.1252, allocations: 16 kB / 0.5244 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-05/0.1252, allocations: 28.98 kB / 0.5245 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.1264, allocations: 423.6 kB / 0.5249 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.129, allocations: 1.339 MB / 0.5262 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007403/0.1298, allocations: 263.6 kB / 0.5264 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.1302, allocations: 130.5 kB / 0.5266 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.976e-05/0.1303, allocations: 11.98 kB / 0.5266 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.1303, allocations: 30.56 kB / 0.5266 GB, free: 13.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 3.577e-06/0.1303, allocations: 0 / 0.5266 GB, free: 13.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001605/0.1319, allocations: 465 kB / 0.527 GB, free: 12.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.132, allocations: 102.8 kB / 0.5271 GB, free: 12.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000777/0.1328, allocations: 0.5018 MB / 0.5276 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.1328, allocations: 29.95 kB / 0.5277 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.133, allocations: 208.3 kB / 0.5279 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.1331, allocations: 63.41 kB / 0.5279 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.1332, allocations: 49.7 kB / 0.528 GB, free: 11.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1334, allocations: 354.8 kB / 0.5283 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.1339, allocations: 123.9 kB / 0.5284 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.1344, allocations: 173 kB / 0.5286 GB, free: 11.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009113/0.1353, allocations: 308.8 kB / 0.5289 GB, free: 10.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1353, allocations: 0 / 0.5289 GB, free: 10.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001163/0.1364, allocations: 384.7 kB / 0.5292 GB, free: 10.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1365, allocations: 7.938 kB / 0.5293 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.311e-05/0.1365, allocations: 28 kB / 0.5293 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.1366, allocations: 0 / 0.5293 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.1369, allocations: 35.95 kB / 0.5293 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1369, allocations: 0 / 0.5293 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.1373, allocations: 63.7 kB / 0.5294 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.1373, allocations: 19.98 kB / 0.5294 GB, free: 10.2 MB / 414.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.000279/0.1376, allocations: 181.7 kB / 0.5296 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.1377, allocations: 43.7 kB / 0.5296 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1388, allocations: 376.5 kB / 0.53 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.1388, allocations: 11.92 kB / 0.53 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1388, allocations: 4 kB / 0.53 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1388, allocations: 0 / 0.53 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008165/0.1396, allocations: 340.4 kB / 0.5303 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.502e-05/0.1397, allocations: 27.98 kB / 0.5303 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.1399, allocations: 27.97 kB / 0.5304 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.1399, allocations: 7.938 kB / 0.5304 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.1399, allocations: 8 kB / 0.5304 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1399, allocations: 4 kB / 0.5304 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.14, allocations: 0 / 0.5304 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.141, allocations: 0.5729 MB / 0.5309 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.1412, allocations: 51.64 kB / 0.531 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.998e-05/0.1412, allocations: 7.938 kB / 0.531 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.1417, allocations: 27.95 kB / 0.531 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.1417, allocations: 15.98 kB / 0.531 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.1418, allocations: 15.98 kB / 0.5311 GB, free: 8.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005953/0.1424, allocations: 375 kB / 0.5314 GB, free: 8.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1424, allocations: 0 / 0.5314 GB, free: 8.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007251/0.1431, allocations: 119.7 kB / 0.5315 GB, free: 7.941 MB / 414.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.0003794/0.1435, allocations: 159.1 kB / 0.5317 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.1447, allocations: 0.5184 MB / 0.5322 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1447, allocations: 0 / 0.5322 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006616/0.1454, allocations: 379.1 kB / 0.5325 GB, free: 6.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.1464, allocations: 109.8 kB / 0.5326 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.1484, allocations: 0.8272 MB / 0.5335 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.1489, allocations: 0.8458 MB / 0.5343 GB, free: 4.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.149, allocations: 27.42 kB / 0.5343 GB, free: 4.898 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.149, allocations: 0 / 0.5343 GB, free: 4.898 MB / 414.1 MB Notification: Performance of Templates: time 0.1955/0.3446, allocations: 7.014 MB / 0.5412 GB, free: 28.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.457538699032739]