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.001343/0.001343, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001452/0.001452, allocations: 169.7 kB / 24.82 MB, free: 9.254 MB / 18.57 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 0.9313/0.9313, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.2546/0.2546, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 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.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Re|Pr.[0-9,]+.|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.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Re|Pr.[0-9,]+.|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 2.595e-06/2.595e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.48e-05, allocations: 2.312 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.004587/0.004622, allocations: 2.14 MB / 378.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.007578, allocations: 1.25 MB / 379.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.007813, allocations: 4 kB / 379.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.008209, allocations: 55.61 kB / 380 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.008598, allocations: 119.2 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009794/0.009578, allocations: 207.1 kB / 380.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.01019, allocations: 457.7 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.375e-05/0.01029, allocations: 20.94 kB / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.01083, allocations: 207.2 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.01117, allocations: 159.5 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.01123, allocations: 16 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/0.0117, allocations: 143.6 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.01185, allocations: 99.53 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.01202, allocations: 111.5 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007726/0.0128, allocations: 446.3 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.0128, allocations: 4 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.0128, allocations: 0 / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.01281, allocations: 4 kB / 381.9 MB, free: 14.96 MB / 362.7 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.001146/0.01396, allocations: 0.7374 MB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.01402, allocations: 12.03 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.01441, allocations: 104.6 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007004/0.01511, allocations: 224.3 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.01515, allocations: 29.38 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.0152, allocations: 36.38 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006089/0.01581, allocations: 372.3 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.01582, allocations: 192 / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.01585, allocations: 16.38 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/0.01591, allocations: 28.92 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.01615, allocations: 118.9 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.01773, allocations: 1.173 MB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.01798, allocations: 141.1 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.865e-05/0.01807, allocations: 51.05 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.01812, allocations: 15.88 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.01815, allocations: 33.39 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.735e-06/0.01815, allocations: 4 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004967/0.01865, allocations: 173 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.0187, allocations: 106.8 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.01891, allocations: 250.7 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.01894, allocations: 29.7 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.01911, allocations: 282.7 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.01916, allocations: 63.77 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.01926, allocations: 59.34 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.01944, allocations: 0.5039 MB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.374e-05/0.01952, allocations: 19.98 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.01964, allocations: 90.08 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.01985, allocations: 121.9 kB / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01985, allocations: 0 / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003351/0.02019, allocations: 153.4 kB / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.02021, allocations: 8 kB / 386.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/0.02027, allocations: 31.98 kB / 386.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.02029, allocations: 4 kB / 386.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.02044, allocations: 23.98 kB / 386.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.02044, allocations: 3.938 kB / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.02057, allocations: 35.77 kB / 386.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.0206, allocations: 8.156 kB / 386.9 MB, free: 9.621 MB / 362.7 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.0001419/0.02074, allocations: 168.6 kB / 387.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.02083, allocations: 15.91 kB / 387.1 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.02125, allocations: 218.7 kB / 387.3 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.02126, allocations: 4 kB / 387.3 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.02126, allocations: 0 / 387.3 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.02127, allocations: 3.938 kB / 387.3 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.02171, allocations: 221 kB / 387.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.011e-05/0.02176, allocations: 27.98 kB / 387.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.02186, allocations: 15.98 kB / 387.6 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.02186, allocations: 8 kB / 387.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.02188, allocations: 8 kB / 387.6 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/0.02189, allocations: 4 kB / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.02189, allocations: 0 / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.02235, allocations: 0.5207 MB / 388.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.02239, allocations: 19.89 kB / 388.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.02242, allocations: 4 kB / 388.1 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.02261, allocations: 8 kB / 388.1 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.02268, allocations: 19.97 kB / 388.2 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.0227, allocations: 15.94 kB / 388.2 MB, free: 8.285 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.02281, allocations: 176.1 kB / 388.4 MB, free: 8.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02281, allocations: 0 / 388.4 MB, free: 8.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006376/0.02345, allocations: 147.4 kB / 388.5 MB, free: 7.969 MB / 362.7 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.0003202/0.02377, allocations: 166.9 kB / 388.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003973/0.02417, allocations: 336.4 kB / 389 MB, free: 7.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02417, allocations: 0 / 389 MB, free: 7.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.02439, allocations: 302.9 kB / 389.3 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.02495, allocations: 51.14 kB / 389.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.02681, allocations: 0.6756 MB / 390 MB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.02694, allocations: 147.6 kB / 390.2 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.753e-05/0.02703, allocations: 9.5 kB / 390.2 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.0273, allocations: 150.2 kB / 390.3 MB, free: 5.969 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0273, allocations: 0 / 390.3 MB, free: 5.969 MB / 362.7 MB Notification: Performance of Templates: time 0.01062/0.03792, allocations: 5.327 MB / 395.6 MB, free: 0.707 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) [Timeout 240] 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","",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.058016990777105]