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.001193/0.001193, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.00139/0.00139, allocations: 191.7 kB / 17.2 MB, free: 5.613 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.661/1.661, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2679/0.2679, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 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.001621/0.001621, allocations: 75.27 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.13, allocations: 57.78 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003734/0.1338, allocations: 2.099 MB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1358, allocations: 1.267 MB / 443.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1361, allocations: 7.938 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.1364, allocations: 67.58 kB / 444 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1366, allocations: 91.42 kB / 444.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.1372, allocations: 183.3 kB / 444.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.1376, allocations: 434 kB / 444.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.1377, allocations: 48.66 kB / 444.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.138, allocations: 167.1 kB / 444.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1382, allocations: 171.2 kB / 445.1 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.1383, allocations: 16 kB / 445.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.1387, allocations: 267.5 kB / 445.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1388, allocations: 91.53 kB / 445.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.139, allocations: 174.8 kB / 445.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.1396, allocations: 0.4982 MB / 446.1 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1396, allocations: 0 / 446.1 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1396, allocations: 4 kB / 446.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.1396, allocations: 0 / 446.1 MB, free: 1.312 MB / 318.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.001233/0.1408, allocations: 0.707 MB / 446.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1409, allocations: 15.83 kB / 446.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.87e-05/0.141, allocations: 44.38 kB / 446.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1413, allocations: 287.6 kB / 447.1 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.1413, allocations: 33.38 kB / 447.2 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.1414, allocations: 36.38 kB / 447.2 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009247/0.1423, allocations: 0.5781 MB / 447.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1423, allocations: 0 / 447.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.1424, allocations: 16 kB / 447.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.1424, allocations: 24.98 kB / 447.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.1433, allocations: 427.6 kB / 448.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.1452, allocations: 1.371 MB / 449.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/0.1457, allocations: 275.6 kB / 449.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.1461, allocations: 138.5 kB / 450 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-05/0.1461, allocations: 11.92 kB / 450 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1462, allocations: 42.56 kB / 450.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.914e-06/0.1462, allocations: 0 / 450.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001213/0.1474, allocations: 456.1 kB / 450.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.1475, allocations: 107.1 kB / 450.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.1481, allocations: 0.5018 MB / 451.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1481, allocations: 29.7 kB / 451.1 MB, free: 12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.1483, allocations: 204.3 kB / 451.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.1484, allocations: 55.25 kB / 451.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.1485, allocations: 53.61 kB / 451.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1486, allocations: 350.8 kB / 451.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.149, allocations: 127.9 kB / 451.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.1493, allocations: 165 kB / 452.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006775/0.15, allocations: 308.8 kB / 452.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.15, allocations: 0 / 452.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008513/0.1509, allocations: 372.8 kB / 452.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1509, allocations: 11.94 kB / 452.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6e-05/0.151, allocations: 35.98 kB / 452.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.151, allocations: 4 kB / 452.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1512, allocations: 36.06 kB / 452.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1513, allocations: 7.938 kB / 452.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.1515, allocations: 59.41 kB / 452.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.1516, allocations: 8 kB / 452.9 MB, free: 10.17 MB / 334.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.0002099/0.1518, allocations: 189.6 kB / 453.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.1519, allocations: 39.47 kB / 453.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000756/0.1527, allocations: 392.1 kB / 453.5 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1527, allocations: 4 kB / 453.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1527, allocations: 0 / 453.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1527, allocations: 4 kB / 453.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.1532, allocations: 357.3 kB / 453.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.508e-05/0.1533, allocations: 31.98 kB / 453.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.1535, allocations: 23.97 kB / 453.9 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1535, allocations: 11.94 kB / 453.9 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.1535, allocations: 4 kB / 453.9 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1535, allocations: 7.938 kB / 454 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.1535, allocations: 0 / 454 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.1544, allocations: 0.5723 MB / 454.5 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1545, allocations: 128.5 kB / 454.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.1546, allocations: 3.984 kB / 454.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.1548, allocations: 19.98 kB / 454.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.1549, allocations: 15.98 kB / 454.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.155, allocations: 11.98 kB / 454.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004049/0.1554, allocations: 379 kB / 455.1 MB, free: 7.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.794e-06/0.1554, allocations: 0 / 455.1 MB, free: 7.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000522/0.1559, allocations: 119.9 kB / 455.2 MB, free: 7.797 MB / 334.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.0003205/0.1562, allocations: 163.1 kB / 455.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008816/0.1571, allocations: 0.5263 MB / 455.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1571, allocations: 320 / 455.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.1576, allocations: 395.1 kB / 456.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006681/0.1583, allocations: 108.2 kB / 456.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.1599, allocations: 0.8056 MB / 457.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.1603, allocations: 0.8497 MB / 458 MB, free: 4.781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.1605, allocations: 63.25 kB / 458.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.1606, allocations: 27.42 kB / 458.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1606, allocations: 0 / 458.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of Templates: time 0.0137/0.1743, allocations: 7.286 MB / 465.4 MB, free: 13.45 MB / 350.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