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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_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=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_3.2.3_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.001324/0.001325, allocations: 105.1 kB / 16.4 MB, free: 6.043 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.001396/0.001396, allocations: 189 kB / 17.34 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2477/0.2477, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 67.91 kB / 441.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1371, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003723/0.1409, allocations: 2.11 MB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.1433, allocations: 1.259 MB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1434, allocations: 7.938 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.1438, allocations: 67.59 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.144, allocations: 95.34 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.1446, allocations: 187.3 kB / 0.4915 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004524/0.1451, allocations: 434 kB / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1452, allocations: 52.69 kB / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.1454, allocations: 155.2 kB / 0.4922 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.1457, allocations: 183 kB / 0.4923 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.1457, allocations: 12 kB / 0.4923 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00043/0.1461, allocations: 263.5 kB / 0.4926 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1463, allocations: 91.53 kB / 0.4927 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.1464, allocations: 166.9 kB / 0.4928 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.147, allocations: 0.5099 MB / 0.4933 GB, free: 6.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1471, allocations: 0 / 0.4933 GB, free: 6.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1471, allocations: 0 / 0.4933 GB, free: 6.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1471, allocations: 0 / 0.4933 GB, free: 6.164 MB / 382.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.001259/0.1483, allocations: 0.7053 MB / 0.494 GB, free: 5.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.1484, allocations: 19.89 kB / 0.4941 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.475e-05/0.1485, allocations: 44.38 kB / 0.4941 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.1489, allocations: 291.4 kB / 0.4944 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.1489, allocations: 29.38 kB / 0.4944 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.149, allocations: 36.38 kB / 0.4944 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000937/0.1499, allocations: 0.5742 MB / 0.495 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.15, allocations: 11.94 kB / 0.495 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.15, allocations: 15.98 kB / 0.495 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.1501, allocations: 21 kB / 0.495 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/0.1509, allocations: 427.5 kB / 0.4954 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.1528, allocations: 1.375 MB / 0.4968 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.1533, allocations: 275.5 kB / 0.4971 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.1536, allocations: 138.5 kB / 0.4972 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.1537, allocations: 15.91 kB / 0.4972 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1537, allocations: 42.5 kB / 0.4972 GB, free: 1.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.1537, allocations: 0 / 0.4972 GB, free: 1.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001197/0.1549, allocations: 444.7 kB / 0.4977 GB, free: 1.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.155, allocations: 111.1 kB / 0.4978 GB, free: 1.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006313/0.1557, allocations: 0.4979 MB / 0.4983 GB, free: 0.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1557, allocations: 25.7 kB / 0.4983 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1559, allocations: 212.2 kB / 0.4985 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.156, allocations: 47.27 kB / 0.4985 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1561, allocations: 53.61 kB / 0.4986 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.1563, allocations: 350.8 kB / 0.4989 GB, free: 180 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.1566, allocations: 131.9 kB / 0.499 GB, free: 48 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.157, allocations: 172.9 kB / 0.4992 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.1576, allocations: 304.8 kB / 0.4995 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1577, allocations: 0 / 0.4995 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008011/0.1585, allocations: 384.7 kB / 0.4999 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1585, allocations: 7.938 kB / 0.4999 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-05/0.1586, allocations: 32 kB / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1586, allocations: 0 / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.1588, allocations: 40.11 kB / 0.4999 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1588, allocations: 7.922 kB / 0.4999 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.1591, allocations: 63.36 kB / 0.5 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.1591, allocations: 15.98 kB / 0.5 GB, free: 15 MB / 398.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.000183/0.1593, allocations: 177.8 kB / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.1594, allocations: 43.47 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007376/0.1601, allocations: 380.6 kB / 0.5006 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1602, allocations: 4 kB / 0.5006 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1602, allocations: 0 / 0.5006 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.1602, allocations: 3.984 kB / 0.5006 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.1607, allocations: 361.3 kB / 0.501 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-05/0.1608, allocations: 31.98 kB / 0.501 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1609, allocations: 23.97 kB / 0.501 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1609, allocations: 3.938 kB / 0.501 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.161, allocations: 8 kB / 0.501 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.161, allocations: 4 kB / 0.501 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.161, allocations: 4 kB / 0.501 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.1618, allocations: 0.578 MB / 0.5016 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.162, allocations: 128.5 kB / 0.5017 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/0.162, allocations: 4 kB / 0.5017 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.1623, allocations: 19.97 kB / 0.5017 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.1624, allocations: 19.98 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1624, allocations: 8 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000377/0.1628, allocations: 375 kB / 0.5021 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1628, allocations: 0 / 0.5021 GB, free: 12.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000483/0.1633, allocations: 115.9 kB / 0.5022 GB, free: 12.64 MB / 398.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.0003104/0.1637, allocations: 175 kB / 0.5024 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000885/0.1645, allocations: 0.5107 MB / 0.5029 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1646, allocations: 0 / 0.5029 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.165, allocations: 391.4 kB / 0.5033 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.1657, allocations: 98 kB / 0.5034 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.167, allocations: 0.8059 MB / 0.5041 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.1675, allocations: 0.8458 MB / 0.505 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.1676, allocations: 71.17 kB / 0.505 GB, free: 9.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.1677, allocations: 27.44 kB / 0.5051 GB, free: 9.547 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1677, allocations: 0 / 0.5051 GB, free: 9.547 MB / 398.1 MB Notification: Performance of Templates: time 0.01255/0.1803, allocations: 7.487 MB / 0.5124 GB, free: 2.07 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins/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/jenkins/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) Reference file matches