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.0009953/0.0009953, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001241/0.001241, allocations: 169 kB / 24.25 MB, free: 312 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 1.011/1.011, allocations: 158.6 MB / 186 MB, free: 2.512 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.1432/0.1432, allocations: 32.37 MB / 270.7 MB, free: 14.75 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.954e-06/1.954e-06, allocations: 0 / 347.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.846e-05, allocations: 6.25 kB / 347.7 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002336/0.002365, allocations: 2.058 MB / 349.8 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.003501, allocations: 0.9121 MB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.003587, allocations: 4 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.003852, allocations: 59.55 kB / 350.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.004151, allocations: 123.4 kB / 350.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.004421, allocations: 99.53 kB / 351 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.004778, allocations: 397.9 kB / 351.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.142e-05/0.004839, allocations: 24.84 kB / 351.4 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.005044, allocations: 187.3 kB / 351.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.005227, allocations: 163.4 kB / 351.7 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.005263, allocations: 12 kB / 351.7 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.005418, allocations: 75.77 kB / 351.8 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.373e-05/0.005512, allocations: 111.5 kB / 351.9 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.005596, allocations: 95.59 kB / 352 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.005976, allocations: 362.6 kB / 352.4 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.005979, allocations: 0 / 352.4 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.00598, allocations: 3.938 kB / 352.4 MB, free: 5.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.005989, allocations: 0 / 352.4 MB, free: 5.059 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.0008018/0.006791, allocations: 0.6988 MB / 353.1 MB, free: 4.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.00684, allocations: 8.031 kB / 353.1 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.006964, allocations: 72.66 kB / 353.1 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.007234, allocations: 227.8 kB / 353.4 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.007255, allocations: 25.38 kB / 353.4 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.007286, allocations: 32.38 kB / 353.4 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.007679, allocations: 319.6 kB / 353.7 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.007692, allocations: 192 / 353.7 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.007723, allocations: 12.38 kB / 353.7 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-05/0.007777, allocations: 44.91 kB / 353.8 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.008073, allocations: 217.9 kB / 354 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009355/0.009009, allocations: 0.9137 MB / 354.9 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.009252, allocations: 135 kB / 355 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.009341, allocations: 51.66 kB / 355.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.009374, allocations: 4 kB / 355.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.009397, allocations: 33.39 kB / 355.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.009399, allocations: 0 / 355.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003944/0.009793, allocations: 197.5 kB / 355.3 MB, free: 1.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.00982, allocations: 55.41 kB / 355.4 MB, free: 1.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.009902, allocations: 211 kB / 355.6 MB, free: 1.664 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.009916, allocations: 33.64 kB / 355.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.009985, allocations: 263.1 kB / 355.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.01004, allocations: 79.38 kB / 356 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.01009, allocations: 59.3 kB / 356 MB, free: 1.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.297e-05/0.01015, allocations: 0.504 MB / 356.5 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.701e-05/0.01021, allocations: 23.98 kB / 356.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/0.01028, allocations: 35.91 kB / 356.6 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.01043, allocations: 84.8 kB / 356.7 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01043, allocations: 0 / 356.7 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002153/0.01064, allocations: 169.4 kB / 356.8 MB, free: 396 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.01066, allocations: 4 kB / 356.8 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01067, allocations: 0 / 356.8 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01068, allocations: 4 kB / 356.8 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.01112, allocations: 159.9 kB / 357 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.01388, allocations: 8.137 MB / 365.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.01398, allocations: 15.89 kB / 365.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.01401, allocations: 15.98 kB / 365.2 MB, free: 7.797 MB / 298.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.000152/0.01416, allocations: 160.6 kB / 365.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.0142, allocations: 27.84 kB / 365.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.01461, allocations: 250.7 kB / 365.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.01462, allocations: 4 kB / 365.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01462, allocations: 0 / 365.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01463, allocations: 0 / 365.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.01505, allocations: 296.4 kB / 365.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01506, allocations: 0 / 365.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.01542, allocations: 155.9 kB / 366 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01543, allocations: 4 kB / 366 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.01544, allocations: 15.98 kB / 366 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.01806, allocations: 8.149 MB / 374.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01806, allocations: 0 / 374.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.01838, allocations: 323.6 kB / 374.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.01841, allocations: 15.84 kB / 374.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.01844, allocations: 0 / 374.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.01852, allocations: 11.98 kB / 374.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.0186, allocations: 19.97 kB / 374.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.01862, allocations: 15.98 kB / 374.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.79e-05/0.01869, allocations: 147.1 kB / 374.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01869, allocations: 0 / 374.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003622/0.01905, allocations: 135.5 kB / 374.9 MB, free: 13.76 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.0002693/0.01932, allocations: 131.1 kB / 375 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005767/0.01989, allocations: 244 kB / 375.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.0199, allocations: 0 / 375.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.02027, allocations: 207.5 kB / 375.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.02057, allocations: 27.97 kB / 375.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.02181, allocations: 0.6537 MB / 376.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.02191, allocations: 147.8 kB / 376.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.02202, allocations: 37.44 kB / 376.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.02207, allocations: 20.48 kB / 376.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of SimCode: time 2.996e-06/0.02207, allocations: 4 kB / 376.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of Templates: time 0.00775/0.02982, allocations: 5.003 MB / 381.3 MB, free: 7.316 MB / 314.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.4895072660874575]