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_KC.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.0009537/0.0009537, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 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.0009515/0.0009515, allocations: 169.3 kB / 24.14 MB, free: 360 kB / 18.57 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 0.9058/0.9058, allocations: 158.6 MB / 186 MB, free: 2.738 MB / 170.7 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.1321/0.1321, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.062e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002892/0.002913, allocations: 2.052 MB / 301.2 MB, free: 88 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1581/0.161, allocations: 0.9189 MB / 302.1 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1611, allocations: 2.5 kB / 302.1 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.1614, allocations: 66.23 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.1618, allocations: 131.8 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1621, allocations: 84.92 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004459/0.1625, allocations: 419.3 kB / 302.8 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/0.1626, allocations: 16.36 kB / 302.8 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.163, allocations: 189.7 kB / 303 MB, free: 18.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.1632, allocations: 165.3 kB / 303.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.1633, allocations: 10.56 kB / 303.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.1635, allocations: 70.95 kB / 303.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1636, allocations: 104.3 kB / 303.3 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.1637, allocations: 98.95 kB / 303.4 MB, free: 18.9 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.1642, allocations: 379.8 kB / 303.8 MB, free: 18.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1642, allocations: 0.5938 kB / 303.8 MB, free: 18.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1642, allocations: 2.438 kB / 303.8 MB, free: 18.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1642, allocations: 0 / 303.8 MB, free: 18.82 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008524/0.1651, allocations: 0.5487 MB / 304.3 MB, free: 18.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1651, allocations: 9.938 kB / 304.3 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1653, allocations: 55.5 kB / 304.4 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1655, allocations: 191.8 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.1655, allocations: 31.53 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.1656, allocations: 32.19 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.1661, allocations: 310.8 kB / 304.9 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1661, allocations: 1.984 kB / 304.9 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.1661, allocations: 12.91 kB / 305 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/0.1662, allocations: 46.17 kB / 305 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.1664, allocations: 162.3 kB / 305.2 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009407/0.1674, allocations: 0.7142 MB / 305.9 MB, free: 17.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.1676, allocations: 162 kB / 306 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.1676, allocations: 29.09 kB / 306.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.1677, allocations: 7.375 kB / 306.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1677, allocations: 37.19 kB / 306.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.274e-06/0.1677, allocations: 5.484 kB / 306.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.000281/0.168, allocations: 131.8 kB / 306.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.168, allocations: 54.53 kB / 306.3 MB, free: 17.63 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.1681, allocations: 147.1 kB / 306.4 MB, free: 17.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1681, allocations: 31.33 kB / 306.5 MB, free: 17.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.1682, allocations: 213 kB / 306.7 MB, free: 17.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.1682, allocations: 76.45 kB / 306.8 MB, free: 17.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.1683, allocations: 45.55 kB / 306.8 MB, free: 17.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.1684, allocations: 332.8 kB / 307.1 MB, free: 16.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.1684, allocations: 24.61 kB / 307.1 MB, free: 16.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.1685, allocations: 20.77 kB / 307.2 MB, free: 16.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1686, allocations: 77.05 kB / 307.2 MB, free: 16.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1686, allocations: 3.938 kB / 307.2 MB, free: 16.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001806/0.1688, allocations: 110.6 kB / 307.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1688, allocations: 5.547 kB / 307.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1688, allocations: 0 / 307.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1688, allocations: 5 kB / 307.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.1692, allocations: 112 kB / 307.5 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.1703, allocations: 5.348 MB / 312.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.1704, allocations: 10.41 kB / 312.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.1704, allocations: 9.656 kB / 312.8 MB, free: 11.36 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.706e-05/0.1705, allocations: 129.2 kB / 313 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.1706, allocations: 22.72 kB / 313 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.1709, allocations: 191.5 kB / 313.2 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1709, allocations: 5.906 kB / 313.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1709, allocations: 1.531 kB / 313.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1709, allocations: 1.078 kB / 313.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.1711, allocations: 169.6 kB / 313.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1711, allocations: 0 / 313.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.1715, allocations: 116.3 kB / 313.5 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.1715, allocations: 1.312 kB / 313.5 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1715, allocations: 7.25 kB / 313.5 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.1726, allocations: 5.355 MB / 318.8 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1726, allocations: 1.094 kB / 318.8 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1728, allocations: 260.2 kB / 319.1 MB, free: 5.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.1728, allocations: 14.27 kB / 319.1 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1728, allocations: 1.766 kB / 319.1 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.1729, allocations: 8.984 kB / 319.1 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.173, allocations: 24.47 kB / 319.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.173, allocations: 4.094 kB / 319.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.667e-05/0.173, allocations: 39.45 kB / 319.2 MB, free: 5.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.173, allocations: 0 / 319.2 MB, free: 5.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002821/0.1733, allocations: 127.3 kB / 319.3 MB, free: 5.289 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/0.1735, allocations: 120.9 kB / 319.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.174, allocations: 187.9 kB / 319.6 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.174, allocations: 1 kB / 319.6 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.1743, allocations: 149 kB / 319.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.1745, allocations: 35.3 kB / 319.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1757, allocations: 0.6499 MB / 320.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.694e-05/0.1758, allocations: 129.1 kB / 320.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.55e-05/0.1758, allocations: 17.3 kB / 320.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1759, allocations: 74.81 kB / 320.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1759, allocations: 4 kB / 320.7 MB, free: 4.605 MB / 282.7 MB Notification: Performance of Templates: time 0.007825/0.1837, allocations: 5.419 MB / 326.1 MB, free: 2.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_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/kc_laminar_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.383503505960107]