Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 164.2 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9096/0.9096, allocations: 177 MB / 205.2 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2441/0.2441, allocations: 34.86 MB / 296.6 MB, free: 452 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.695e-05, allocations: 2.312 kB / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003076/0.003093, allocations: 2.065 MB / 328 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.004511, allocations: 0.9128 MB / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/0.004592, allocations: 4 kB / 328.9 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.004871, allocations: 67.55 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.005224, allocations: 131.2 kB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.005472, allocations: 87.64 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000412/0.005884, allocations: 409.9 kB / 329.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.254e-05/0.005946, allocations: 22.89 kB / 329.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.00626, allocations: 199.2 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.006481, allocations: 159.4 kB / 330 MB, free: 3.066 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.006511, allocations: 8 kB / 330 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.00669, allocations: 79.77 kB / 330.1 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.006796, allocations: 103.5 kB / 330.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.006906, allocations: 99.59 kB / 330.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.007326, allocations: 370.5 kB / 330.6 MB, free: 2.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.007328, allocations: 4 kB / 330.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.007328, allocations: 0 / 330.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.007333, allocations: 0 / 330.6 MB, free: 2.414 MB / 298.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.0007449/0.008078, allocations: 0.5558 MB / 331.2 MB, free: 1.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.008112, allocations: 8.031 kB / 331.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.625e-05/0.008209, allocations: 52.89 kB / 331.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.008438, allocations: 185.2 kB / 331.4 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.008464, allocations: 33.31 kB / 331.5 MB, free: 1.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.008518, allocations: 32.38 kB / 331.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.008984, allocations: 322.5 kB / 331.8 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.008998, allocations: 8.188 kB / 331.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.009032, allocations: 16.38 kB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.009093, allocations: 40.91 kB / 331.9 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.009391, allocations: 166.9 kB / 332 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.01054, allocations: 0.7029 MB / 332.7 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.01082, allocations: 169.4 kB / 332.9 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.009e-05/0.0109, allocations: 40.77 kB / 332.9 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.01092, allocations: 4 kB / 332.9 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.01096, allocations: 30.56 kB / 333 MB, free: 15.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.01096, allocations: 4 kB / 333 MB, free: 15.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003391/0.0113, allocations: 128.6 kB / 333.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.01133, allocations: 55.34 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.01143, allocations: 142.6 kB / 333.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.01146, allocations: 29.7 kB / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.01155, allocations: 208.4 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.01162, allocations: 79.3 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.0117, allocations: 45.67 kB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.01179, allocations: 330.7 kB / 334 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.01186, allocations: 22.81 kB / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-05/0.01192, allocations: 23.98 kB / 334 MB, free: 14.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.01208, allocations: 75.58 kB / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01209, allocations: 3.938 kB / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000218/0.0123, allocations: 108.2 kB / 334.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.01232, allocations: 4 kB / 334.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.01232, allocations: 0 / 334.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.01233, allocations: 3.938 kB / 334.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/0.0129, allocations: 111.9 kB / 334.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.01503, allocations: 5.351 MB / 339.7 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.01513, allocations: 23.91 kB / 339.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.01516, allocations: 4 kB / 339.7 MB, free: 8.949 MB / 314.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 0.0001105/0.01527, allocations: 124.5 kB / 339.8 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.01532, allocations: 19.98 kB / 339.8 MB, free: 8.797 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.01568, allocations: 184 kB / 340 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.01569, allocations: 7.938 kB / 340 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01569, allocations: 0 / 340 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.0157, allocations: 3.984 kB / 340 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.01596, allocations: 169.7 kB / 340.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01597, allocations: 0 / 340.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005229/0.01649, allocations: 119.9 kB / 340.3 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01649, allocations: 0 / 340.3 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.01651, allocations: 8 kB / 340.3 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.01862, allocations: 5.346 MB / 345.7 MB, free: 2.719 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01862, allocations: 3.938 kB / 345.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.01888, allocations: 263.9 kB / 345.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.0189, allocations: 11.91 kB / 345.9 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.01893, allocations: 12 kB / 345.9 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.01905, allocations: 8.281 kB / 346 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.01912, allocations: 23.89 kB / 346 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.01914, allocations: 8 kB / 346 MB, free: 2.379 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.01918, allocations: 35.66 kB / 346 MB, free: 2.344 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01918, allocations: 0 / 346 MB, free: 2.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003714/0.01955, allocations: 131.5 kB / 346.1 MB, free: 2.215 MB / 314.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.0001809/0.01973, allocations: 116.2 kB / 346.3 MB, free: 2.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006462/0.02038, allocations: 176.6 kB / 346.4 MB, free: 1.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.02038, allocations: 0 / 346.4 MB, free: 1.914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.0209, allocations: 160.7 kB / 346.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.02114, allocations: 27.27 kB / 346.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.02231, allocations: 0.6625 MB / 347.3 MB, free: 1.039 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.02241, allocations: 131.8 kB / 347.4 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.02252, allocations: 21.48 kB / 347.4 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.02265, allocations: 79.34 kB / 347.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02265, allocations: 0 / 347.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of Templates: time 0.00945/0.0321, allocations: 5.407 MB / 352.9 MB, free: 11.47 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.1407827250659466]