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.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.001548/0.001548, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.001614/0.001614, allocations: 163.6 kB / 23.95 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1999/0.1999, allocations: 32.82 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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=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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 440.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.22e-05, allocations: 5.656 kB / 440.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003052/0.003074, allocations: 2.047 MB / 442.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.004931, allocations: 1.168 MB / 443.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.121e-05/0.005022, allocations: 0 / 443.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.005301, allocations: 59.61 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.005542, allocations: 111.2 kB / 443.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.006115, allocations: 203.1 kB / 443.7 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005325/0.006647, allocations: 461.7 kB / 444.2 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.807e-05/0.006715, allocations: 12.94 kB / 444.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.00705, allocations: 207.2 kB / 444.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.007301, allocations: 163.4 kB / 444.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.007346, allocations: 12 kB / 444.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.007696, allocations: 151.6 kB / 444.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.007831, allocations: 91.55 kB / 444.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.007987, allocations: 111.5 kB / 444.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000716/0.008703, allocations: 498.2 kB / 445.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.008707, allocations: 0 / 445.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.008709, allocations: 0 / 445.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.008715, allocations: 0 / 445.4 MB, free: 2.836 MB / 366.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.001246/0.009961, allocations: 0.6453 MB / 446 MB, free: 2.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.009998, allocations: 8.031 kB / 446 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004026/0.0104, allocations: 76.61 kB / 446.1 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.0108, allocations: 245.5 kB / 446.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.01083, allocations: 29.38 kB / 446.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/0.01089, allocations: 36.38 kB / 446.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.0119, allocations: 0.5744 MB / 447 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.01192, allocations: 4.125 kB / 447 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.01196, allocations: 16.38 kB / 447 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.01201, allocations: 28.91 kB / 447 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008484/0.01286, allocations: 427.6 kB / 447.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1897/0.2026, allocations: 1.138 MB / 448.6 MB, free: 20.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.2032, allocations: 264.9 kB / 448.8 MB, free: 20.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.2035, allocations: 131.9 kB / 449 MB, free: 20.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.2035, allocations: 13.47 kB / 449 MB, free: 20.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2035, allocations: 39.39 kB / 449 MB, free: 20.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.2035, allocations: 0 / 449 MB, free: 20.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001181/0.2047, allocations: 433.8 kB / 449.5 MB, free: 20.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.2048, allocations: 113.4 kB / 449.6 MB, free: 20.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.205, allocations: 215 kB / 449.8 MB, free: 20.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.205, allocations: 30.42 kB / 449.8 MB, free: 20.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.2051, allocations: 231.4 kB / 450 MB, free: 20.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.2051, allocations: 59.53 kB / 450.1 MB, free: 20.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/0.2052, allocations: 54.95 kB / 450.1 MB, free: 20.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.2053, allocations: 335.1 kB / 450.5 MB, free: 20 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.2056, allocations: 124.1 kB / 450.6 MB, free: 19.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.2059, allocations: 175.6 kB / 450.8 MB, free: 19.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.2066, allocations: 310.7 kB / 451.1 MB, free: 19.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2066, allocations: 1.219 kB / 451.1 MB, free: 19.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007846/0.2074, allocations: 353.4 kB / 451.4 MB, free: 19.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2074, allocations: 9.859 kB / 451.4 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.725e-05/0.2075, allocations: 29.41 kB / 451.4 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.2075, allocations: 2.094 kB / 451.5 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.2077, allocations: 34.62 kB / 451.5 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2077, allocations: 2.281 kB / 451.5 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.2079, allocations: 34.62 kB / 451.5 MB, free: 19.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.2079, allocations: 14.55 kB / 451.5 MB, free: 19.75 MB / 366.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.0002114/0.2081, allocations: 188.2 kB / 451.7 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/0.2082, allocations: 20.17 kB / 451.7 MB, free: 19.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007804/0.209, allocations: 362.9 kB / 452.1 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.209, allocations: 3.797 kB / 452.1 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.209, allocations: 2.266 kB / 452.1 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.209, allocations: 5.109 kB / 452.1 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.2096, allocations: 277.4 kB / 452.4 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.06e-05/0.2096, allocations: 31.33 kB / 452.4 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.2098, allocations: 27.67 kB / 452.4 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.2098, allocations: 2.344 kB / 452.4 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.2098, allocations: 10.92 kB / 452.4 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2098, allocations: 1.188 kB / 452.4 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2098, allocations: 1.875 kB / 452.4 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009012/0.2107, allocations: 0.5563 MB / 453 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.2108, allocations: 20.45 kB / 453 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.2108, allocations: 5.375 kB / 453 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.2111, allocations: 17.31 kB / 453 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.2112, allocations: 22.78 kB / 453.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.2112, allocations: 17.56 kB / 453.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.2114, allocations: 156.3 kB / 453.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2114, allocations: 0 / 453.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006884/0.2121, allocations: 144.1 kB / 453.4 MB, free: 18.86 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 (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.0003439/0.2124, allocations: 178.6 kB / 453.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009113/0.2133, allocations: 0.5135 MB / 454.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2133, allocations: 0 / 454.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004465/0.2138, allocations: 383.7 kB / 454.4 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.2143, allocations: 33.14 kB / 454.5 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.2157, allocations: 0.7368 MB / 455.2 MB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.2159, allocations: 245.8 kB / 455.5 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.551e-05/0.216, allocations: 22.25 kB / 455.5 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.2161, allocations: 16 kB / 455.5 MB, free: 17.67 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2161, allocations: 0 / 455.5 MB, free: 17.67 MB / 366.1 MB Notification: Performance of Templates: time 0.009619/0.2257, allocations: 4.835 MB / 460.3 MB, free: 17.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.848813731223345]